This question is locked. New answers and comments are not allowed.
XAxis Label is come from data in database. In case of long data, chart will put XAxis Label to the wrong position [see picture]. How do I solved this problem?
Below is XAML. (Data is generate using SampleData).
Below is XAML. (Data is generate using SampleData).
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="SilverlightApplication1.MainPage" Width="640" Height="480"> <Grid x:Name="LayoutRoot" Background="White" DataContext="{Binding Source={StaticResource SampleDataSource}}"> <telerik:RadChart Content="RadChart" ItemsSource="{Binding Path=Collection,Mode=OneWay}" > <telerik:RadChart.SeriesMappings> <telerik:SeriesMapping > <telerik:SeriesMapping.ItemMappings> <telerik:ItemMapping DataPointMember="XCategory" FieldName="Name" /> <telerik:ItemMapping DataPointMember="YValue" FieldName="Value" /> </telerik:SeriesMapping.ItemMappings> </telerik:SeriesMapping> </telerik:RadChart.SeriesMappings> <telerik:RadChart.DefaultView> <telerik:ChartDefaultView> <telerik:ChartDefaultView.ChartArea> <telerik:ChartArea> <telerik:ChartArea.AxisX> <telerik:AxisX AutoRange="True" LabelRotationAngle="45"> </telerik:AxisX> </telerik:ChartArea.AxisX> </telerik:ChartArea> </telerik:ChartDefaultView.ChartArea> </telerik:ChartDefaultView> </telerik:RadChart.DefaultView> </telerik:RadChart> </Grid></UserControl>