Hi.
I'm using the latest (I believe it's 2010.1.603.35) version, and found if I put TickLineStyle on Y Axis (I just changed the color) the ticks of X Axis all go funny - They lean horizontally.
I need to make the axis lines and tick lines white.
Is there a way to fix this problem or any other way to make them white rather than using the styles?
I'm using the latest (I believe it's 2010.1.603.35) version, and found if I put TickLineStyle on Y Axis (I just changed the color) the ticks of X Axis all go funny - They lean horizontally.
I need to make the axis lines and tick lines white.
Is there a way to fix this problem or any other way to make them white rather than using the styles?
| <Style x:Key="Chart_GridLine" TargetType="{x:Type Line}"> |
| <Setter Property="Stroke" Value="White"/> |
| </Style> |
| <Style x:Key="Chart_TickLine" TargetType="{x:Type Line}"> |
| <Setter Property="Stroke" Value="White"/> |
| <Setter Property="StrokeThickness" Value="1"/> |
| </Style> |
| <Style x:Key="Chart_AxisLine" TargetType="{x:Type Line}"> |
| <Setter Property="Stroke" Value="White"/> |
| <Setter Property="StrokeThickness" Value="2"/> |
| </Style> |
| <telerik:ChartDefaultView.ChartArea> |
| <telerik:ChartArea> |
| <telerik:ChartArea.AxisX> |
| <telerik:AxisX StripLinesVisibility="Visible" MajorGridLinesVisibility="Visible"> |
| <telerik:AxisX.AxisStyles> |
| <telerik:AxisStyles |
| AxisLineStyle="{StaticResource Chart_AxisLine}" |
| GridLineStyle="{StaticResource Chart_GridLine}" |
| TickLineStyle="{StaticResource Chart_TickLine}"/> |
| </telerik:AxisX.AxisStyles> |
| </telerik:AxisX> |
| </telerik:ChartArea.AxisX> |
| <telerik:ChartArea.AxisY> |
| <telerik:AxisY MinorTicksVisibility="Collapsed"> |
| <telerik:AxisY.AxisStyles> |
| <telerik:AxisStyles |
| AxisLineStyle="{StaticResource Chart_AxisLine}" |
| TickLineStyle="{StaticResource Chart_TickLine}"/> |
| </telerik:AxisY.AxisStyles> |
| </telerik:AxisY> |
| </telerik:ChartArea.AxisY> |
| </telerik:ChartArea> |
| </telerik:ChartDefaultView.ChartArea> |