Performance in UWP Charts (SfChart)
7 Jan 20251 minute to read
- When your underlying data object implements INotifyPropertyChanged, you need to enable the
ListenPropertyChangeproperty of the series, to make the chart listen to the property changes of your data object. However enabling this property registers PropertyChanged event of every object in the data source. Due to this, chart’s loading time is affected when there are a large number of points. By default,ListenPropertyChangeis set to false in order to avoid the event registration unnecessarily. - In case of a
LineSeries, when you have large number of points to plot, you can make use of fast series types likeFastLineSeriesandFastLineBitmapSeries. - In case of a
ColumnSeries, when you have large number of points to plot, you can make use ofFastColumnBitmapSeries. - You also have Fast Series types for financial charts like
HiLoandHiLoOpenCloseand they are named asFastHiLoBitmapSeriesandFastHiLoOpenCloseBitmapSeriesrespectively.