RadCartesianChart XAxis Scale and Major Unit Issue

1 posts, 0 answers
  1. Jonathan Barber
    Jonathan Barber avatar
    5 posts
    Member since:
    Aug 2009

    Posted 12 Sep 2013 Link to this post

    I am using the RadCartesianChart to show a bar chart, and the X-Axis is linear.  So, the problem i see is the Major Step doesnt match excel.  The X-Axis does have percentages, but for example I have a XMax of 0.15 (15%) and XMin of 0, the Major Step is 0.02 (2%), but if i plot the same thing on Excel the Major Step is 0.05 (5%).  So, how can i get them to match? 

    <telerik:RadCartesianChart Grid.Row="6" VerticalAlignment="Top" Height="300" Width="400">
                                    <telerik:RadCartesianChart.HorizontalAxis>
                                        <telerik:LinearAxis LabelFormat="0%"/>
                                    </telerik:RadCartesianChart.HorizontalAxis>
     
                                    <telerik:RadCartesianChart.VerticalAxis>
                                        <telerik:CategoricalAxis/>
                                    </telerik:RadCartesianChart.VerticalAxis>
     
                                    <telerik:RadCartesianChart.Series>
                                        <telerik:BarSeries CategoryBinding="SectorDesc" ValueBinding="MtdSectorReturn" ItemsSource="{Binding SectorPerformance}">
                                            <telerik:BarSeries.PointTemplates>
                                                <DataTemplate>
                                                    <Rectangle Fill="DarkBlue"/>
                                                </DataTemplate>
                                            </telerik:BarSeries.PointTemplates>
                                        </telerik:BarSeries>
                                    </telerik:RadCartesianChart.Series>
                                </telerik:RadCartesianChart>
Back to Top