SfCartesianChart freezes UI when loading large amount of data

When populating large amount of datapoint(i.e. 10000+), the SfCartesianChart freezes the UI for a bit.
We have tested four graphs with 10000 data point in the test project and it seems the UI freezes for roughly 2.5 seconds when loading the data. The behavior is same in release mode.
Is there any way we can increase the performance of the graphs?
A demo video and test project is attached.
Tested Platform: Windows
Processor: 11th Gen Intel(R) Core(TM) i5-1135G7
RAM: 16.0 GB
Tested OS version: Windows 11


Attachment: ChartSlowLoading_59227920.zip

4 Replies

NT Nitheeshkumar Thangaraj Syncfusion Team July 26, 2024 11:49 AM UTC

Hi Shahadat,


We would like to let you know that we currently don’t have support for fast column series, which can enhance performance when handling numerous data points. We have considered your query as a feature request and created feedback to add it to our request list. You can track the status or progress of this feature through the following feedback link.


Feedback: Fastcolumn series support for net maui chart



We will prioritize the features in every release based on the demands, and we do not have an immediate plan to implement this since we committed to already planned work. So, this feature will be available for any of our upcoming releases.


Please cast your vote to make it count, and if you have any more specifications or suggestions for the feature request, you can add them as a comment in the feedback portal.


Regards,

Nitheeshkumar.



SM Saravanan Madheswaran Syncfusion Team July 26, 2024 01:06 PM UTC

Hi Shahadat,

When it comes to performance, we always suggest using fast series. As per our previous update, we have considered the feature request for a fast column series. In the meantime, you might want to try our fast line series to see if it suits your scenario.

<chart:SfCartesianChart.Series>

     <chart:FastLineSeries ItemsSource="{Binding DataCollection}"

                     XBindingPath="Time"

                     Fill="Red"

                     EnableTooltip="True"

                     YBindingPath="Value"/>

 </chart:SfCartesianChart.Series>


UG_FastlineSeries

You can check performance with fast line series in this sample. dot_net_MAUI_Chart_Performance_Analysis

Iteration\Data Size

10K

50K

100K

1st Iteration

84.0293ms

428.3736ms

837.9919ms

2nd Iteration

78.2262ms

558.2201ms

961.5992ms

3rd Iteration

64.6057ms

494.0102ms

1109.7517ms


Regards,

Saravanan.



PD Praveen D July 26, 2024 08:41 PM UTC

Along with Fast Column. Please consider doing Fast Stacked 100 Column ( StackingColumn100Series  )too. 

thanks

Praveen




SM Saravanan Madheswaran Syncfusion Team July 29, 2024 09:17 AM UTC

Hi Shahadat


Thanks for your update, please find the feature request for fast stacking 100 consideration.


Fast stacking series in .NET MAUI chart

Please cast your vote to make it count, and if you have any more specifications or suggestions for the feature request, you can add them as a comment in the feedback portal.


Regards,

Saravanan.


Loader.
Up arrow icon