-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Vertical bar chart: capture of scrollView delegate callbacks and load additional data #920
Comments
it's a good quesiton. When you reach the end, you will know it's the last xIndex, and then you can add more data entries by |
The dX value that |
yes, it's not about content offset. You have to do some math to know if it reaches the end. It seems like this part can be improved in the future. |
@liuxuan30 is there any specific methoid which gets called to load next set of chart data when chart reaches end of the scroll? |
I don't remember, but maybe you can bind some methods from ViewPortHandler to see if possible. |
Hey guys,
I have a vertical bar chart. It has lots of data that doesn't fit the screen width so I have enabled scaling on the X axis. Is it possible to capture the scrollView offset when chart scaling is on as I would like to trigger a request for more data when the scrolling reaches the bounds of the chart?
The text was updated successfully, but these errors were encountered: