Do we have any documentation available for limit of number of datapoints in syncfusion charts ?
For Example on macbook pro chrome browser :
- Fast line chart can plot 10 thousand datapoint having numeric/datetime x-axis across series
- Fast line chart can plot 5 thousand datapoint having categorical x-axis across series
- Circular charts can handle 1k data points
- Bar charts will handle 1k data points
- Scatter chart will handle 10 k datapoints
We need it to decide machine configuration if that affects.
limits will change on desktop vs mobile app vs mobile browser ?
NOTE 1: This is not regarding how to improve performance, We went through other forum questions and we applied them.
NOTE 2: These performance stats are important for us to avoid browser hang / mobile application hang issues at customer site because of more number of datapoints. If we know performance stats we will trim data OR show warnings before hand OR do some aggregation before plotting if number of datapoints are out of capacity.
Hi Dhananjay,
We apologize for the delay in response, but we have investigated your query thoroughly and have some recommendations for you.
Based on the device configuration and RAM, the exact data point count for optimal performance may vary. However, we suggest the following features and improvements to avoid crashes:
1. We do not recommend using the CategoryAxis for more data points. Running SfCartesianChart with 1,000 data points in the CategoryAxis leads to performance issues because it is index-based rather than range-based, causing every data point to be iterated.
2. For circular charts, we have grouped features to avoid small data values or more data points for better visualization. Please refer to the below Ug link for more information.
https://help.syncfusion.com/flutter/circular-charts/chart-types/pie-chart#grouping-data-points
3. We suggest avoiding loading more data points during the loading time. We recommend the use of lazy loading to avoid crash issues. Please refer to the below KB links for more information:
I hope these recommendations will be helpful in avoiding crash issues. Please let us know if you have any further queries or concerns.
Thank you for choosing Syncfusion.
Regards,
Lokesh.
Hello Lokesh,
Thank you for your response.
Defiantly performance improvement suggestion will help (We saw it in other forum answers as well).
Lazy loading is not the option in our case because we want entire data view in one glance to look after data patterns.
"Based on the device configuration and RAM, the exact data point count for optimal performance may vary."
=> Could you provide stat for any particular device with disclaimer that it may vary.
E.g
Device 1: 2.6 GHz Dual-Core Intel Core i5. and 8 GB 1600 MHz DDR3 Mac Book pro:
Optimal Stats :
Device 2: some other mobile device and its configuration.
Optimal Stats :
Could you please fill in the blanks. With these referral example i will try to set high level (not exact) user expectations of our app
Regards,
Dhananjay.
Hi Dhananjay,
This is the optimal performance of the device when using our chart.
For 1k data points
For 5k data points
We are still improving the performance.
Regards,
Lokesh.
Lokesh,
Thanks for sharing stats.
Could you also share on which device you took these reading ?
Also please share same stats for 7k and 10k datapoints.
Reagrds,
Dhananjay.
Hi,
Sorry for the miscommunication. We had shared incorrect information, but we are currently working on improving performance in the chart. We have now provided the correct details based on your requirement. We plan to include this improved performance in our upcoming releases, which are expected in October 2023. We appreciate your patience until then. Please let us know if you need any further assistance.
The below performance details were recorded on an Android mobile device with 12 GB of RAM and a Mediatek Dimensity 1200 processor.
For 1k data points
For 5k data points
For 7k data points
For 10k data points
Macbook pro browser:
For 1k data points
For 5k data points
Regards,
Lokesh.
Hello Lokesh,
Thank you for information.
Just for my better understanding i have one question.
Lets take below example from your stat.
Macbook pro browser:
For 5k data points
Hi ,
We have obtained the performance details five times and calculated the mean value. According to the shared details, Bar charts will take 1022 milliseconds to load 5000 data points. Please inform us if you require any further information.
Regards,
Lokesh.
Lokesh,
Thank you for all your findings. This will really help us.
Please inform us once performance improved release is rolled out in October
Regards,
Dhananjay.
Hi Dhananjay,
Most Welcome. Kindly get back to us if you have further queries. We are always happy to assist you.
We will let you know once the release has been rolled out, and we appreciate your patience until then.
Regards,
Lokesh.
Hi Dhananjay,
Sorry for the inconvenience, we missed to notify the release details here. We are glad to announce that our Essential Studio 2023 Volume 4 release v24.1.41 was rolled out and is available for download under the following link.
In the latest chart package version, we did some performance improvement, so we kindly request you to upgrade to the below mentioned version.
Version link,
https://pub.dev/packages/syncfusion_flutter_charts/versions/24.1.41
Please try the above-mentioned chart version and let us know the result.
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Regards,
Lokesh P.
Thank you for your reply, We will definitely check at our end.
Hi Dhananjay,
Most Welcome. Kindly get back to us if you have further queries. We are always happy to assist you.
Regards,
Preethika Selvam.