This is a migrated thread and some comments may be shown as answers.

Performance issues when changing sampling threshold

1 Answer 28 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Gitle
Top achievements
Rank 1
Gitle asked on 03 Dec 2018, 01:23 PM
Hi. 
I have a program that in some cases need to show 20+ charts, each with 20 000+ data points, and the charts can be manipulated with pan and zoom so that every chart changes simultaneously. It also needs to have dynamic sampling so that the charts are simplified when displaying many points, but show detail when zoomed in. It works fine when panning, all the charts update smoothly. However when I zoom in or out, I need to change the chartdatasource sampling threshold to adjust the detail, and this is very slow. It takes several seconds for the operation to complete and all charts to update. Why does this take so long and is there any way to speed up the operation?

1 Answer, 1 is accepted

Sort by
0
Dinko
Telerik team
answered on 06 Dec 2018, 11:02 AM
Hello Gitle,

I would suggest you take a look at this 5 Easy Steps Towards a Fast Chart blog post. This blog post describes how you can improve the performance of the chart. More specifically you can take a look at the Direct2D and the Bitmap render options. But keep in mind that these rendering options have some limitations. The first one is that you cannot bind the properties (like Fill for example) in the DefaultVisualStyle, due to an issue in the rendering options. Also, the lightweight rendering options don't support custom visuals. So, you cannot choose different geometry for the data points by setting a custom geometry. However, there is a feature request for introducing API that should help in this case.

Regards,
Dinko
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
ChartView
Asked by
Gitle
Top achievements
Rank 1
Answers by
Dinko
Telerik team
Share this question
or