MajorYLineDashArray & MajorLinesVisibility in RadCartesianChart

2 posts, 0 answers
  1. Lee
    Lee avatar
    30 posts
    Member since:
    Apr 2014

    Posted 09 May 2014 Link to this post

    My code is below that

    <chartView:CartesianChartGrid MajorLinesVisibility="{Binding Ribbon.AxisGrid, Converter={StaticResource axisConverter}}">
            <Style TargetType="telerik:CartesianChartGrid">
                   <Setter Property="MajorXLineDashArray" 
                          Value="{Binding Ribbon.AxisGridLine, Converter={StaticResource axisConverter}}"/>
                   <Setter Property="MajorYLineDashArray" 
                          Value="{Binding Ribbon.AxisGridLine, Converter={StaticResource axisConverter}}"/>


                <Style TargetType="chartView:LineSeries">
                        <Setter Property="VerticalAxis" Value="{Binding Data, Converter={StaticResource additionalVerticalAxisConverter}}"/>

    I do setting 'MajorYLineDashArray & MajorLinesVisibility'.

    But my program does not appear 'MajorLine'

    What should I do?

    Additionally, attached file


  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1236 posts

    Posted 10 May 2014 Link to this post

    Hi Lee,

    Thank you for contacting us on that matter. When working with the CartesianChartGrid you need to have in mind that at the moment it works properly with the main axis of the RadCartesianChart control, only. We are aware of that limitation and it is already logged in our system for future implementation. But for the moment you need to define your vertical axis in the charting component, rather than in the LineSeries.

             <telerik:LinearAxis />
    Please give this approach a try and let me know if you need any further assistance.

    Pavel R. Pavlov
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top