hi,
Can we have grid lines that is shown on the graph as dotted lines instead of dashed lines?
<telerik:RadCartesianChart.Grid>
<telerik:CartesianChartGrid>
<telerik:CartesianChartGrid.Style>
<Style TargetType="telerik:CartesianChartGrid">
<Setter Property="MajorXLineDashArray" Value="10,5"/>
<Setter Property="MajorYLineDashArray" Value="10,5"/>
<Style.Triggers>
<DataTrigger Binding="{Binding Path=DisplayGridLines}" Value="1">
<Setter Property="MajorLinesVisibility" Value="X"/>
</DataTrigger>
<DataTrigger Binding="{Binding Path=DisplayGridLines}" Value="2">
<Setter Property="MajorLinesVisibility" Value="Y"/>
</DataTrigger>
<DataTrigger Binding="{Binding Path=DisplayGridLines}" Value="3">
<Setter Property="MajorLinesVisibility" Value="XY"/>
</DataTrigger>
</Style.Triggers>
</Style>
</telerik:CartesianChartGrid.Style>
<telerik:CartesianChartGrid.MajorXLineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="Gray"/>
</Style>
</telerik:CartesianChartGrid.MajorXLineStyle>
<telerik:CartesianChartGrid.MajorYLineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="Gray"/>
</Style>
</telerik:CartesianChartGrid.MajorYLineStyle>
</telerik:CartesianChartGrid>
</telerik:RadCartesianChart.Grid>
I have 10 points being shown on the graph. so the grid lines appear for all the 10 points. Can we have it just five and increase it if needed?
Please reply as soon as possible.
Can we have grid lines that is shown on the graph as dotted lines instead of dashed lines?
<telerik:RadCartesianChart.Grid>
<telerik:CartesianChartGrid>
<telerik:CartesianChartGrid.Style>
<Style TargetType="telerik:CartesianChartGrid">
<Setter Property="MajorXLineDashArray" Value="10,5"/>
<Setter Property="MajorYLineDashArray" Value="10,5"/>
<Style.Triggers>
<DataTrigger Binding="{Binding Path=DisplayGridLines}" Value="1">
<Setter Property="MajorLinesVisibility" Value="X"/>
</DataTrigger>
<DataTrigger Binding="{Binding Path=DisplayGridLines}" Value="2">
<Setter Property="MajorLinesVisibility" Value="Y"/>
</DataTrigger>
<DataTrigger Binding="{Binding Path=DisplayGridLines}" Value="3">
<Setter Property="MajorLinesVisibility" Value="XY"/>
</DataTrigger>
</Style.Triggers>
</Style>
</telerik:CartesianChartGrid.Style>
<telerik:CartesianChartGrid.MajorXLineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="Gray"/>
</Style>
</telerik:CartesianChartGrid.MajorXLineStyle>
<telerik:CartesianChartGrid.MajorYLineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="Gray"/>
</Style>
</telerik:CartesianChartGrid.MajorYLineStyle>
</telerik:CartesianChartGrid>
</telerik:RadCartesianChart.Grid>
I have 10 points being shown on the graph. so the grid lines appear for all the 10 points. Can we have it just five and increase it if needed?
Please reply as soon as possible.