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

RadCartesianChart XAxis Scale and Major Unit Issue

0 Answers 73 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Jonathan Barber
Top achievements
Rank 1
Jonathan Barber asked on 12 Sep 2013, 04:02 PM
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>

No answers yet. Maybe you can help?

Tags
ChartView
Asked by
Jonathan Barber
Top achievements
Rank 1
Share this question
or