I am looking for a way to know which datapoints (or screen coordinates) are in range of my current zoom level.
I'm drawing specific stuff above the graph and don't want to change anything if the user clicks outside the graph.
It seems not to be working, when zoomed in the min & max property of the ActualRange property don't change.
In my example unzoomed the min & max are from 0 to 9. When zoomed in (say from 2 to 3) and clicking outside the chart, they still are 0 and 9.
Indeed, the actual range property returns the actual minimum and maximum of the entire axis. If you know the current zoom you can easily calculate the visible range of the axis. I have attached a simple application demonstrating the approach that you can use.