2

I'm trying to figure out how to calculate which data indices (along x axis) are in range after panning/zooming the chart.

For example, when I zoom in on my linechart, I want to be able to update a tableview to only show the details for the data points that are visible.

I've searched the code and documentation i can find, to no avail.

1 Answer 1

3

There is highestVisibleXIndex and lowestVisibleXIndex should help you. I hope I would see your issue earlier, just another weekend not on SO

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.