I am attempting to style a CartesianChartGrid's X and Y lines by setting the StrokeDashArray property. However, when attempting to run the application, I receive an exception stating that the doublecollection must be unfrozen. Here is the code snippet and I have attached the resulting exception message..
<telerik:RadCartesianChart Width="400" Height="250">
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:LinearAxis />
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis>
<telerik:LinearAxis/>
</telerik:RadCartesianChart.VerticalAxis>
<telerik:ScatterPointSeries>
<telerik:ScatterPointSeries.DataPoints>
<telerik:ScatterDataPoint XValue="1" YValue="1" />
<telerik:ScatterDataPoint XValue="5" YValue="3" />
<telerik:ScatterDataPoint XValue="8" YValue="11" />
</telerik:ScatterPointSeries.DataPoints>
</telerik:ScatterPointSeries>
<telerik:RadCartesianChart.Grid>
<telerik:CartesianChartGrid MajorLinesVisibility="XY" >
<telerik:CartesianChartGrid.MajorXLineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="Pink"/>
<Setter Property="StrokeDashArray" Value="4,2"/>
</Style>
</telerik:CartesianChartGrid.MajorXLineStyle>
</telerik:CartesianChartGrid>
</telerik:RadCartesianChart.Grid>
</telerik:RadCartesianChart>