Hi, can you improve performance based on the following usage? This is my sample. Run the project and click the 'click' button.
My usage is that chart needs to be refreshed frequently.
|
<syncfusion:FastLineBitmapSeries XBindingPath="Name"
YBindingPath="Value"
StrokeDashArray ="3,3"
Interior="Red"
ListenPropertyChange="True"
ItemsSource="{Binding Data1}">
</syncfusion:FastLineBitmapSeries>
<syncfusion:FastScatterBitmapSeries
XBindingPath="Name"
YBindingPath="Value"
Interior="Red"
ScatterHeight="11"
ScatterWidth="11"
ShapeType="Triangle"
ListenPropertyChange="True"
ItemsSource="{Binding Data1}">
</syncfusion:FastScatterBitmapSeries> |
Thanks for your help, it's very helpful to me.
Hi.
If i want to use 'ListenPropertyChange="True"' for line series, how to improve its performance?
Hi YXJ,
To improve performance, we recommend for using FastLineSeries instead of regular LineSeries and also performance is not affected if you update the single data point value with enabling the ListenPropertyChange.
When bulk of data is updated, there is a lag in performance. In this case, you can use the SuspendedSeriesNotification before update the data and again call the ResumeSeriesNotification method. For more details please refer the below UG link.
https://help.syncfusion.com/wpf/charts/performance
Thanks,
Manivannan E
Hi,
I need data marker for line series.
Can FastLineSeries meet my needs?
Hi YXJ,
FastLineSeries have data marker support but it will lag the performance while zooming and panning the chart area and also at load time when loading the large number of data. Instead of data marker you can use FastScatterBitmapSeries with ShapeType property.
Thanks,
Manivannan E
Hi,
Thanks for your reply.
However, i need both data marker and line, so do you have any other advice
|
<syncfusion:FastLineSeries StrokeDashArray="3,5"
XBindingPath="Name"
YBindingPath="Value"
Interior="Red"
ListenPropertyChange="True"
ItemsSource="{Binding Data6}">
</syncfusion:FastLineSeries>
<syncfusion:FastScatterBitmapSeries
XBindingPath="Name"
YBindingPath="Value"
Interior="Red"
ScatterHeight="11"
ScatterWidth="11"
ShapeType="Ellipse"
ListenPropertyChange="True"
ItemsSource="{Binding Data6}">
</syncfusion:FastScatterBitmapSeries> |