How to improve performance while zooming by using scrollbar in WPF Chart (SfChart)?
To enable scrollbar visibility in the WPF Chart (SfChart), set the EnableScrollBar property to true for both the primary and secondary axes. For enhanced performance during zooming operations, you should set DeferredScrolling to true on both axes.
In the following code example, a FastLineBitmapSeries is used, as it provides superior performance when zooming in on large datasets.
XAML
<!--DeferredScroling property is used to improve performance when large amount of data is zoomed--> <Syncfusion:SfChart.PrimaryAxis> <Syncfusion:CategoryAxis DeferredScrolling="True"
EnableScrollBar="True"/> </Syncfusion:SfChart.PrimaryAxis> <Syncfusion:SfChart.SecondaryAxis> <Syncfusion:NumericalAxis EnableScrollBar="True"
DeferredScrolling="True"/> </Syncfusion:SfChart.SecondaryAxis>
Conclusion
I hope you enjoyed learning how to improve performance while zooming by using scrollbar in WPF Chart.
You can refer to our WPF Chart feature tour page know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our WPF Chart Examples to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!