-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
While the graph updates the live data the resetZoom() does not happen correctly #918
Comments
If I understand what you say, I think I have the same problem. To reproduce:
I expect that chart adapt again, like it did earlier. Currently I have: the chart x axis no longer adapt after I zoomed once, like it's stuck. Actually, I think my use case is expected, if we zoom in, if there is new data outside, it's expected to keep the range. But in the case of @GitCatacao, I think you should try: -chart.resetZoom()
+chart.resetZoom('zoom') I also need to pass |
Yes, something like that, pink squirrel with things in the eye, but the the following is different: chart adapts, but it adapts to the last zoom, as if that were the entire area of the chart. About the parameter
so you can pass also nothing like this:
Goodbye 👋 |
While the graph updates the live data the reset does not happen correctly in a graph made like this (sorry if it is too skimpy). You know what it is if you have done it.
The example is unfortunately too big to be reported here on github.
It is a financial chart with added volumes.
Two series, one volume and one interchangeable line/candlestick/ohlc.
The zoom when reset remains set to the last zoomed size.
I don't know if you can fake it, but if you can you will realize that the problem exists and it is quite annoying.
If you need further details just ask.
The text was updated successfully, but these errors were encountered: