I have the following in my .xaml and it looks like I have everything I need in place, but I'm receiving an error saying "The attachable property 'Annotations' was not found in type 'ChartArea'?
I'm using the following version of dlls - 2010.1.309.103
Can anyone see anything wrong or maybe it's just this version of dlls I'm using??
I'm using the following version of dlls - 2010.1.309.103
Can anyone see anything wrong or maybe it's just this version of dlls I'm using??
<
UserControl
x:Class
=
"lineChartRetry.MainPage"
xmlns:telerikChart
=
"clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Charting"
xmlns:chart
=
"clr-namespace:Telerik.Windows.Controls.Charting;assembly=Telerik.Windows.Controls.Charting"
xmlns:themingToolkit
=
"clr-namespace:System.Windows.Controls.Theming;assembly=System.Windows.Controls.Theming.Toolkit"
xmlns:d
=
"http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc
=
"http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable
=
"d"
d:DesignWidth
=
"640"
d:DesignHeight
=
"480"
>
<
Grid
x:Name
=
"LayoutRoot"
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
Grid.ColumnDefinitions
>
<
ColumnDefinition
Width
=
"*"
/>
</
Grid.ColumnDefinitions
>
<
Border
Style
=
"{StaticResource NumericBorder}"
>
<
TextBlock
x:Name
=
"txtChartValue"
TextAlignment
=
"Center"
Foreground
=
"#FAAC58"
FontSize
=
"14"
FontWeight
=
"Bold"
FontFamily
=
"Helvetica, sans-serif"
></
TextBlock
>
</
Border
>
<
telerikChart:RadChart
x:Name
=
"RadChart1"
Grid.Row
=
"1"
Grid.Column
=
"0"
>
<
telerikChart:RadChart.DefaultView
>
<
chart:ChartDefaultView
>
<
chart:ChartDefaultView.ChartArea
>
<
chart:ChartArea
>
<
chart:ChartArea.Annotations
>
<
chart:CustomGridLine
YIntercept
=
"150"
Visibility
=
"Visible"
Stroke
=
"Red"
StrokeThickness
=
"3"
ElementStyle
=
"{StaticResource SolidStyle}"
/>
</
chart:ChartArea.Annotations
>
</
chart:ChartArea
>
</
chart:ChartDefaultView.ChartArea
>
</
chart:ChartDefaultView
>
</
telerikChart:RadChart.DefaultView
>
</
telerikChart:RadChart
>
</
Grid
>
</
UserControl
>