[ SfChart ] Big Data sample
I was thrilled to see that news and I think I can really use that technology moving forward but unfortunately, I've been unable to reproduce such perfomances using your charts. When using the chart with such a big amount of data, the zoom is kind of choppy and scrolling is pretty unprecise.
I look forward to hear back from you.
Roger Delacastagne
- Use FastLineSeries instead of LineSeries.
- Default stroke width of FastLineSeries is two, reduce this to one.
- Disable the antialiasing of line.
- We have used to the radial distance algorithm in chart to reduce the data points whenever there are collision between two points, the radial distance is one by default, and increasing the distance will ignore the points to be plotted without affecting the output when have large amount of data. We have done this using custom renderer in below attached sample.
- Suspend the update of chart using SuspendSeriesNotification method when adding bulk data points and refresh the chart with newly added data points using ResumeSeriesNotification method.
Attachment: XForms_Sample_58f8ee48.zip
Hi Roger,
Thanks for the update.
Specify the axis to the individual series using XAxis and YAxis properties of chart series. Please find the modified code of ChartPage.xaml page from the attachment.
Please refer the following user guide to learn more about adding multiple series with separate axis.
https://help.syncfusion.com/xamarin/sfchart/chartseries#multiple-series
You can also position the axis at opposite side of the chart using OpposedPosition property of chart axis.
https://help.syncfusion.com/xamarin/sfchart/axis#placing-axes-at-the-opposite-side
Thanks,
Prabakaran
Attachment: ChartPage.xaml_af614c11.zip
Hi Roger,
I am aware of your requirement and have a knowledge about this thread. But, I have ensured the output in Android and iOS platforms and not in UWP, sorry about that.
Just now realized that there is a mistake in custom renderer in UWP platform that ignores the mapping of XAxis and YAxis to native chart. Please download the updated sample from the attachment. I have used the methods available in source for replacing the FastLineSeries with FastLineBitmapSeries instead of manually mapping the required properties.
Additionally, you can hide the gridlines of any axis(if required) using ShowMajorGridLines property of chart axis. Please refer the following user guide.
https://help.syncfusion.com/xamarin/sfchart/axis#grid-lines-customization
Please
let me know if you have any question.
Thanks,
Prabakaran
Attachment: Chart_Sample_b71106e8.zip
- 7 Replies
- 5 Participants
-
RD Roger Delacastagne
- Apr 19, 2018 11:43 AM UTC
- Apr 15, 2021 09:01 AM UTC