Articles in this section
Category / Section

How to improve performance while zooming by using scrollbar in WPF Chart (SfChart)?

1 min read

You need to set the EnableScrollBar property to true in the primary and secondary axes for scrollbar visibility in WPF Chart (SfChart). For better performance while zooming, you need to set the DeferredScrolling to true in both axes.

 

In the following code example, FastLineBitmapSeries has been used. This series performs better while zooming large amount of data.

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>

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied