I have a bar chart with a Numerical y-axis and a Category x-axis.
Due to the large number of categories on the x-axis, I had to implement scrolling using the following behaviour:
<chart:SfChart.Behaviors>
<chart:ChartZoomPanBehavior EnablePanning="True"/>
</chart:SfChart.Behaviors>
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.