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

[Solved] Major and minor grid lines

1 Answer 122 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jan
Top achievements
Rank 1
Jan asked on 23 Oct 2013, 05:02 AM

Hi,


I have a chart that displays temperatures for 1 day (24 hours). Gridlines are shown for every degree and every hour, see the screenshot in first attach.



I'd like to emphasis certain grid lines, for example have a thicker grid line for every 5 degrees. The result would be like "major" and "minor" grid lines. I've created a mock up (second attach) of the desired chart. Is this possible?



Many thanks!

Jan

1 Answer, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 23 Oct 2013, 10:57 AM
Hello Jan,

Thank you for using RadControls for Windows 8!

The RadCartesianChart control supports only major grid lines, but you can easily achieve the desired effect by adding grid line annotations. Here is an article from our online documentation where you can read more about them: http://www.telerik.com/help/windows-8-xaml/chart-annotations-gridline-types.html

I have also attached an example project that demonstrates how you can add annotations to the chart in both xaml and code behind.

I hope this was useful. Please do not hesitate to contact us if you have further questions.

Regards,
Rositsa Topchiyska
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart for XAML
Asked by
Jan
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Share this question
or