Hi,
I have had this problem a couple of times now and i dont understand why it happens.
Every time i try to use a property on for example an AreaSeries, the compiler tells me that this property does not exist in the telerik namespace "http://schemas.telerik.com/2008/xaml/presentation" even though the intellisense suggest the property.
See attached image.
I have the following code for the graph:
I must be doing something wrong here i just cant see what it is :)
Best regards,
Jeppe
I have had this problem a couple of times now and i dont understand why it happens.
Every time i try to use a property on for example an AreaSeries, the compiler tells me that this property does not exist in the telerik namespace "http://schemas.telerik.com/2008/xaml/presentation" even though the intellisense suggest the property.
See attached image.
I have the following code for the graph:
<telerik:RadCartesianChart Grid.Column="1" Grid.Row="0" Grid.RowSpan="2" Margin="0,0,0,3" x:Name="lineSeries" ClipToBounds="False"> <telerik:RadCartesianChart.VerticalAxis> <telerik:LinearAxis IsInverse="True" Name="verticalAxis" Title="Depth(µm)"/> </telerik:RadCartesianChart.VerticalAxis> <telerik:RadCartesianChart.HorizontalAxis> <telerik:LinearAxis Name="horizontalAxis" Title="Concentration(µmol/l)"/> </telerik:RadCartesianChart.HorizontalAxis> <telerik:ScatterPointSeries x:Name="pointSeries" XValueBinding="XValue" YValueBinding="YValue" ItemsSource="{Binding}"> <telerik:ScatterPointSeries.PointTemplate> <DataTemplate> <Ellipse Width="17" Height="17" Fill="Blue"/> </DataTemplate> </telerik:ScatterPointSeries.PointTemplate> </telerik:ScatterPointSeries> <telerik:ScatterLineSeries ItemsSource="{Binding}" StrokeThickness="1.5" x:Name="serie" Stroke="Red" XValueBinding="XValue" YValueBinding="YValue"> </telerik:ScatterLineSeries> <telerik:AreaSeries StrokeThickness="2" Fill="Gray"> <telerik:AreaSeries.DataPoints> <telerik:CategoricalDataPoint Value="20"/> <telerik:CategoricalDataPoint Value="40"/> <telerik:CategoricalDataPoint Value="35"/> <telerik:CategoricalDataPoint Value="40"/> <telerik:CategoricalDataPoint Value="30"/> <telerik:CategoricalDataPoint Value="50"/> </telerik:AreaSeries.DataPoints> </telerik:AreaSeries> <telerik:RadCartesianChart.Behaviors> <telerik:ChartPanAndZoomBehavior ZoomMode="Both" PanMode="Both"/> </telerik:RadCartesianChart.Behaviors> <telerik:RadCartesianChart.Grid> <telerik:CartesianChartGrid Name="chartGrid" MajorLinesVisibility="XY" MajorXLineDashArray="5, 5" MajorYLineDashArray="5, 5"> <telerik:CartesianChartGrid.MajorXLineStyle> <Style TargetType="Line"> <Setter Property="Shape.Stroke" Value="Gray" /> </Style> </telerik:CartesianChartGrid.MajorXLineStyle> <telerik:CartesianChartGrid.MajorYLineStyle> <Style TargetType="Line"> <Setter Property="Shape.Stroke" Value="Gray" /> </Style> </telerik:CartesianChartGrid.MajorYLineStyle> </telerik:CartesianChartGrid> </telerik:RadCartesianChart.Grid> </telerik:RadCartesianChart>I must be doing something wrong here i just cant see what it is :)
Best regards,
Jeppe