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

SmartLabel binding to DataPoint.IsSelected property

3 Answers 69 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Veteran
Iron
Michael asked on 08 Nov 2018, 12:10 PM

Hallo!

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

Sort by
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. 

Regards,
Martin Ivanov
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Michael
Top achievements
Rank 1
Veteran
Iron
answered on 13 Nov 2018, 12:16 PM

Hallo Martin,

thx for the info about chart performance!

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. 

Regards,
Dinko
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
ChartView
Asked by
Michael
Top achievements
Rank 1
Veteran
Iron
Answers by
Martin Ivanov
Telerik team
Michael
Top achievements
Rank 1
Veteran
Iron
Dinko | Tech Support Engineer
Telerik team
Share this question
or