and also setting the 'ZoomFactor' on the CategoryAxis appropriately.
This works great, and you can scroll along with the mouse or by touch. However I also need to scroll the chart programmatically. So for example if I have a ZoomFactor of 0.5, I can see the first 50% of the bars. I want to then programmatically show the second 50% of the bars (i.e. without using the mouse or touch).
I can't see how to do this, so any help would be appreciated.
MKMagesh Kumar Krishnan Syncfusion Team November 25, 2014 01:05 PM UTC
Thanks for using Syncfusion
SfChart provides the API calledZoomPositionfor
panning, we can use this property for programmatic panning requirement. It takes the values from 0 to 1. You can define the ZoomPosition property
as in below code snippet.