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

Can I set each label in RadCartesianChart?

1 Answer 51 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Johnny
Top achievements
Rank 1
Johnny asked on 18 Nov 2013, 03:58 AM
chart[i].HorizontalAxis= new LinearAxis() {  LabelInterval = 10  };
Use LabelInterval can control  regular pattern of label.

If I only want to show the last label? (attachment1)
if I wnat to show the  Irregular label? (attachment2)

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Marchev
Telerik team
answered on 20 Nov 2013, 11:53 AM
Hello Johnny,

I think you should take advantage of the LabelTemplateSelector to achieve this scenario. You can check the value in the SelectTemplate method and decide whether or not you want to return a regular or an empty data template.

Regards,
Petar Marchev
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Chart
Asked by
Johnny
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or