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

Line Chart Performance

3 Answers 66 Views
Chart
This is a migrated thread and some comments may be shown as answers.
pratik mehta
Top achievements
Rank 1
pratik mehta asked on 18 Aug 2010, 10:07 AM
Hi,

I have read Performace tips for RadChart Control and i wan to know  how to remove item label and a point mark visual.

Reference of telerik Document.

Simplify the chart item ControlTemplate - e.g. the Line item template contains by default an item label and a point mark visual. The point mark visual can be removed (as they are relatively insignificant when rendering thousands of records). With lots of points the sheer number of UI elements simply bogs the system down as discussed above). So if you cannot reduce the data points, you will need to simplify the chart item ControlTemplate.

Note that simply changing their Visibility will not do the trick, they should be physically removed from the template.
Can you please advice me on this as i am having lot of data in my radChart and i have set Visible property of Label and point mark but as per the document if we want to gain performance improvement we need to remove this element.

Thanks

Pratik Mehta

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 23 Aug 2010, 07:47 AM
Hi pratik,

One possible option in this case would be to retemplate the element of interest. Additional information on this is available in the following topic:

http://www.telerik.com/help/silverlight/radchart-templating-point-marks.html

I hope this gets you started properly.

Kind regards,
Yavor
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
pratik mehta
Top achievements
Rank 1
answered on 23 Aug 2010, 08:49 AM
Hi,

I am not sure how the link given by you helpm me on removing PointMarks physically.

Can you please provide me sample project for removinf Item lables and PointMarks physically from chart.

I am facing lot of problem in Chart Performance.


Thanks

Pratik Meha

0
Yavor
Telerik team
answered on 24 Aug 2010, 07:38 AM
Hi pratik mehta,

Attached to this message, is a small application which replaces the pointmark with a textblock. You can remove this as well from the template, to have no control for a pointmark.
I hope this gets you started properly.

Sincerely yours,
Yavor
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
pratik mehta
Top achievements
Rank 1
Answers by
Yavor
Telerik team
pratik mehta
Top achievements
Rank 1
Share this question
or