How to add vertical lines?

2 posts, 0 answers
  1. Steve Behrendt
    Steve Behrendt avatar
    12 posts
    Member since:
    Feb 2010

    Posted 19 Feb 2013 Link to this post

    Hello everyone,

    I'm using a RadCartesianChart with HorizontalAxis set to a DateTimeContinousAxis.

    My issue is that I can't find a way to add vertical lines when a Label or a MajorStep is displayed on the x-Axis. Each MajorStep (or preferable Label) should have a vertical line.

    In the WP App from telerik the page 'live feed' under chart-features has vertical lines.

    Am I missing something?

    Thanks heaps,
    Steve
    @derSteve
  2. Steve Behrendt
    Steve Behrendt avatar
    12 posts
    Member since:
    Feb 2010

    Posted 19 Feb 2013 Link to this post

    Hi,

    I was overlooking the Grid-Property.

    By setting the following in xaml, we can control which lines (x,y,xy,none) to be displayed.

    <telerikChart:RadCartesianChart.Grid>
        <telerikChart:CartesianChartGrid MajorLinesVisibility="XY" Style="{StaticResource gridStyleDashed}"/>
    </telerikChart:RadCartesianChart.Grid>
  3. DevCraft banner
Back to Top