Make chart sticky on the right side when zooming #3495
AnonDev1312
started this conversation in
General
Replies: 2 comments 1 reply
-
@AnonDev1312 , did you solve this issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
to stick the chart to the right, at the end of the zoomed events handler you could call updateoptions to reset the xaxis.max value to not more the last value in your time series, or compare it with Date.now() to make sure it isn't in the future.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When zooming out, is it possible to make sure the last date of the chart is always placed on the right of the chart?
To prevent something like this from happening. Zoom out twice and half of the chart is empty

Similar problem with zooming in. The last date of the chart is Nov 16 but after zooming in the last date becomes Nov 9


After zoom:
and last question: how can I display more dates on the chart? For example in 1M chart I see only 3 dates labels displayed on the bottom of the chart

thank you for this great library, I love it!
Beta Was this translation helpful? Give feedback.
All reactions