Is it possible to bind a SmartLabel to DataPoint.IsSelected property!
I have a ChartSeries with more than 10.000 DataPoints. When i specify a DataPointTemplate, the performance gets bad!
I need an implementation like the TrackBallInfoCursor! Can you give me a hint?
3 Answers, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 13 Nov 2018, 08:04 AM
Hi Michael,
There several tips about boosting the chart's performance, described in the 5 Easy Steps Towards a Fast Chart blog post. The most general is - avoid using PointTemplate. Instead use DefaultVisualStyle. The second major recommendation is, use lightweight render options. But note that the render options won't work if you use PointTemplate.
About the binding to the IsSelected property, I am not sure what you mean here. Can you please send me some drawings of the expected result? This give me a better idea about your case and I can think of a possible approach.
For the smart labels and the binding to IsSelected property I have found a other solution.
I use CartesianCustomAnnotation to view my custom smart labels in the chart (green line in picture)
But if you have a better solution/approach please let me know.
0
Dinko | Tech Support Engineer
Telerik team
answered on 16 Nov 2018, 11:35 AM
Hello Michael,
Thank you for the provided picture.
Displaying custom elements on the plot area of the chart can be achieve using annotation as you already have used. Using annotations in the right way to display your additional information.