You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the candlestick chart and cannot load all the data at once due to having many thousands of candles. So I'm working on something to be able to fetch segments of the data as you scroll.
Initially, the chart is zoomed in by setting the range in the xaxis options as per the solution here: #1138. You can then pan over the data that has been fetched.
When you reach the end of the fetched data, I'm working on something to fetch more data and then it will reload with the new series within the new range. But the focus needs to still be on the same candle so it doesn't jump to the end of the x-axis after re-loading the series with the new data. Otherwise you'd have to pan all the way back to where you were before the new data was fetched.
So I need to be able to pan to a specific location on the xaxis after loading new data. Is there an event and method to be able to achieve this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the candlestick chart and cannot load all the data at once due to having many thousands of candles. So I'm working on something to be able to fetch segments of the data as you scroll.
Initially, the chart is zoomed in by setting the range in the xaxis options as per the solution here: #1138. You can then pan over the data that has been fetched.
When you reach the end of the fetched data, I'm working on something to fetch more data and then it will reload with the new series within the new range. But the focus needs to still be on the same candle so it doesn't jump to the end of the x-axis after re-loading the series with the new data. Otherwise you'd have to pan all the way back to where you were before the new data was fetched.
So I need to be able to pan to a specific location on the xaxis after loading new data. Is there an event and method to be able to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions