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

[C#][UWP] How to display quarterly and yearly information in chart

5 Answers 97 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Milan
Top achievements
Rank 1
Milan asked on 28 Apr 2017, 07:42 AM

Hi team,

I want to implement a chart with desired output as shown in the attached image file. Could you please help me resolve this issue asap.

Regards

5 Answers, 1 is accepted

Sort by
0
Lance | Senior Manager Technical Support
Telerik team
answered on 28 Apr 2017, 03:42 PM
Hi Milan,

You cannot group axis labels, so you won't be able to have two rows of labels.

However you can use the LabelDefinition's Template property, or even better, the TemplateSelector to show whatever you want for individual ticks.

The TemplateSelector is just like any other normal XAML DataTemplateSelector, so you can use what you know already to show "Q1 2013" for each tick.

Go here to see how to use the chart's LabelDefinition properties and configuration.

Regards,
Lance | Tech Support Engineer, Sr.
Telerik by Progress
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
Milan
Top achievements
Rank 1
answered on 01 May 2017, 06:44 AM

Hello,

I tried to implement my scenario but I got some new issues where in, I want to display horizontal x-axis in bold at 0. Also, I want to reduce the space between two clusters. Please refer to the attached image.

Regards

0
Milan
Top achievements
Rank 1
answered on 08 May 2017, 10:40 AM

Hi,

Is there anyone to help me out!!!!

Regards

0
Milan
Top achievements
Rank 1
answered on 08 May 2017, 10:41 AM

Hi,

Is there anyone to help me out?

Regards

0
Ves
Telerik team
answered on 11 May 2017, 07:26 AM
Hi Milan,

You can use GridLine Annotation to display bold line at zero. As for decreasing items space, you need to use the GapLength property of the axis. It accepts values between 0 and 1, where smaller values mean smaller gap.

Best regards,
Ves
Telerik by Progress
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
Tags
Chart
Asked by
Milan
Top achievements
Rank 1
Answers by
Lance | Senior Manager Technical Support
Telerik team
Milan
Top achievements
Rank 1
Ves
Telerik team
Share this question
or