SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
Hi,
Are there any events on the chart which fires on zoom starts and zoom ends which i can use to calculate the time taken for the zoom operation.
Thanks,
Pruthvi Sagar
This is going to be very difficult to measure.
You can get notification when a zoom starts and ends by using one of these techniques:
However, this simply gives you a notification that a zoom occurred. You won’t get a notification when a zoom ends and the chart has redrawn, unless you also subscribe to Axis.VisibleRangeChanged or/or SciChartSurface.Rendered. But then it’s difficult to know if the Rendered event was fired because of your zoom, or because of something else.
In short, I don’t think you will be able to do this easily, but, hopefully there are some ideas above to test out.
Please login first to submit.