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

Varying Dynamic X Axis Label Interval

5 Answers 155 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Shilpa
Top achievements
Rank 1
Shilpa asked on 14 Dec 2015, 09:29 AM

Hi,

I want a Spline Series where a Categorical X axis Labels are plotted at different Gap widths( Different Label Interval).  Setting Label Interval Property is for whole Axis.But I want each label at different gaps. How do I Achieve this?

5 Answers, 1 is accepted

Sort by
0
Shilpa
Top achievements
Rank 1
answered on 15 Dec 2015, 04:57 AM

Someone please reply to this quest

 

0
Ves
Telerik team
answered on 17 Dec 2015, 07:48 AM
Hi Shilpa,

You can provide your own template for the labels through the LabelTemplate property of the axis. In it, you can add a TextBlock and bind its text with a converter. This way you will be able to define if you want to hide or show every single label, based on its value.

Best regards,
Ves
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Shilpa
Top achievements
Rank 1
answered on 17 Dec 2015, 07:58 AM

Hi Ves,

Actually there is no label item in between the two labels ticks whose visibility I want to set. I have attached a picture of how the chart should look like.

0
Accepted
Ves
Telerik team
answered on 21 Dec 2015, 09:22 AM
Hi Shilpa,

I am afraid placing ticks at uneven intervals is not supported in our Chart for UWP.

Best regards,
Ves
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Shilpa
Top achievements
Rank 1
answered on 21 Dec 2015, 09:44 AM

Hi Ves,

Okay. Thanks for the clarification.

Tags
Chart
Asked by
Shilpa
Top achievements
Rank 1
Answers by
Shilpa
Top achievements
Rank 1
Ves
Telerik team
Share this question
or