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

UI freeze when rebinding or closing chart

3 Answers 65 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Timo
Top achievements
Rank 1
Timo asked on 20 Oct 2011, 01:22 PM
We are displaying several line series to a total of about a few hundred points, and we are experiencing problems with the UI freezing when the chart is being drawn or disposed. We have disabled point marks and animations, and its the same. Is there any way to at least keep the UI responsive?

3 Answers, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 24 Oct 2011, 02:35 PM
Hi Timo,

Could you confirm whether you have disabled only series pointmarks, or you have disabled series item labels and tooltips as well?

Generally by disabling all three features (pointmarks, labels, and tooltips), the series will automatically enter in "fast" rendering mode i.e. it will render significantly less visuals as no visuals for each specific data point will be drawn but only a single polyline element.


All the best,
Giuseppe
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Timo
Top achievements
Rank 1
answered on 25 Oct 2011, 06:48 AM
Unfortunately we need the tooltips, so those are not disabled.
0
Giuseppe
Telerik team
answered on 27 Oct 2011, 02:25 PM
Hi Timo,

Unfortunately if any of the three features is enabled (tooltips, point marks, labels), RadChart will still generate a separate transparent visual for each data point that is used for interactivity handling and this will add significant performance hit in scenarios where large number of data points are displayed.

Alternatively, you can enable the data sampling feature of RadChart (the default threshold value is 200 but can be modified via the SamplingSettings.SamplingThreshold property).


Kind regards,
Giuseppe
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Chart
Asked by
Timo
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Timo
Top achievements
Rank 1
Share this question
or