Performance in UWP Charts (SfChart)
18 Nov 20181 minute to read
- When your underlying data object implements INotifyPropertyChanged, enable the
ListenPropertyChangeproperty of the series so that the chart listens to the property changes of your data object. However, enabling this property registers the PropertyChanged event of every object in the data source, which affects the chart’s loading time when there are a large number of points. By default,ListenPropertyChangeis set to false to avoid unnecessary event registration. - In case of a
LineSeries, when you have a large number of points to plot, you can make use of fast series types likeFastLineSeriesandFastLineBitmapSeries. - In case of a
ColumnSeries, when you have a large number of points to plot, you can make use ofFastColumnBitmapSeries. - You also have Fast Series types for financial charts like
HiLoandHiLoOpenClose, and they are named asFastHiLoBitmapSeriesandFastHiLoOpenCloseBitmapSeriesrespectively.