Thank you for your question.
The Chart has a ChartPanZoomBehavior
which allows you to zoom and or pan across the chart data if it is too big to fit. Additionally the chart has a setZoom
method which allows you to programmatically zoom to a certain level. Here's an example:
ChartPanAndZoomBehavior panAndZoomBehavior =
Here the horizontal zoom is set to 5, since given that you want to display 20 out of 100 points. Depending on you requirements, you can set the zoom mode to none, if you don't want to allow users' zoom by gestures. Additionally to pan to the end on the initial load, you can use setPanOffset
chart.setPanOffset(-chart.getZoomWidth() * chart.getWidth(), 0);
I hope this information helps.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items