This question is locked. New answers and comments are not allowed.
Hello, I'm trying to bind data to a chart using the RadDomainDataSource however my chart is not returning values. Below is the code I'm using. I would like to know first of all if I have everything set up correctly? I also wanted to know if "DataView" in the ItemSource should be unique per project, or will it be the same all the time?
<telerik:RadDomainDataSource x:Name="xRadDomainDataSource" QueryName="GetProtocolsQuery" AutoLoad="True"> <telerik:RadDomainDataSource.DataContext> <service:iTRACKContext/> </telerik:RadDomainDataSource.DataContext> </telerik:RadDomainDataSource> <telerik:RadCartesianChart x:Name="chart" Width="222"> <telerik:RadCartesianChart.HorizontalAxis> <telerik:CategoricalAxis/> </telerik:RadCartesianChart.HorizontalAxis> <telerik:RadCartesianChart.VerticalAxis> <telerik:LinearAxis Maximum="100"/> </telerik:RadCartesianChart.VerticalAxis> <telerik:RadCartesianChart.Series> <telerik:BarSeries CombineMode="Stack" ItemsSource="{Binding DataView, ElementName=xRadDomainDataSource}" ValueBinding="Duration" CategoryBinding="FundingID" ShowLabels="True"> </telerik:BarSeries> </telerik:RadCartesianChart.Series> </telerik:RadCartesianChart>