yScale and curve type #1851
Unanswered
lednhatkhanh
asked this question in
Q&A
Replies: 1 comment
-
Hi @lednhatkhanh it would help if you could add a visual explanation and code sandbox to your question! thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to display a tooltip on the maximum and minimum values of the line chart (I'm not using xychart). I tried to use yScale:
yScale(value)
and get the top from it. The problem is that it does not match with what renders on the screen, different curve type will render the chart differently thus making the top value incorrect. Could you please let me know do I calculate the top value of a point take the curve into consideration? Thank you.Beta Was this translation helpful? Give feedback.
All reactions