I'm trying to get myself introduced into using the RadChartView here and I'm working from your demos on the matter but when I try building I get this compiler error:
message: The type or namespace name 'Windows' does not exist in the namespace 'Spike.Telerik' (are you missing an assembly reference?)
file: GvsDefectsChartControl.xaml 19 26
project: Spike.Telerik.RadChartView
Apparently there's an assembly that needs to be referenced but the message isn't gibing me much of a hint on which one.
Also, on the whole, I think your demos are lacking in this area. None of the XAML examples I've seen includes the namespace declarations, just the rendered tags. Those all include custom (Telerik) namespaces. Fortunately I have Jetbrains Resharper to help me set up the correct namespace declarations but I'm still stuck with the above error.
This is my complete XAML:
I would appreciate any help.
Thanks
message: The type or namespace name 'Windows' does not exist in the namespace 'Spike.Telerik' (are you missing an assembly reference?)
file: GvsDefectsChartControl.xaml 19 26
project: Spike.Telerik.RadChartView
Apparently there's an assembly that needs to be referenced but the message isn't gibing me much of a hint on which one.
Also, on the whole, I think your demos are lacking in this area. None of the XAML examples I've seen includes the namespace declarations, just the rendered tags. Those all include custom (Telerik) namespaces. Fortunately I have Jetbrains Resharper to help me set up the correct namespace declarations but I'm still stuck with the above error.
This is my complete XAML:
<UserControl x:Class="Spike.Telerik.RadChartView.MyTestChartViewControl" xmlns:chart="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Chart" xmlns:chartView="http://schemas.telerik.com/2008/xaml/presentation" mc:Ignorable="d" xmlns:GVS="clr-namespace:Spike.RADChart.GVS" d:DesignHeight="300" d:DesignWidth="300"> <UserControl.Resources> <GVS:MyViewModel x:Key="_testVM"/> </UserControl.Resources> <Grid DataContext="{StaticResource _testVM}"> <chart:RadCartesianChart > <chart:RadCartesianChart.HorizontalAxis> <chartView:DateTimeCategoricalAxis LabelRotationAngle="50" LabelFormat="HH:mm"/> </chart:RadCartesianChart.HorizontalAxis> <chart:RadCartesianChart.VerticalAxis> <chartView:LinearAxis /> </chart:RadCartesianChart.VerticalAxis> <chart:RadCartesianChart.Series> <chartView:SplineSeries ItemsSource="{Binding Path=Data}" CategoryBinding="Time" ValueBinding="Value" /> </chart:RadCartesianChart.Series> </chart:RadCartesianChart> </Grid></UserControl>I would appreciate any help.
Thanks
