I have WPF application RadCartesianChart This is the code of one of them......
<telerik:RadCartesianChart x:Name="RadChart1" Palette="Windows8" DataContext="{Binding XPath=/Nodes/Node,Source={StaticResource xml_Chart}}">
<telerik:RadCartesianChart.HorizontalAxis> <telerik:CategoricalAxis Background="#FFF50000" /> </telerik:RadCartesianChart.HorizontalAxis> <telerik:RadCartesianChart.VerticalAxis> <telerik:LinearAxis /> </telerik:RadCartesianChart.VerticalAxis> <telerik:RadCartesianChart.Series> <telerik:BarSeries CategoryBinding="{Binding XPath=@shortTime}" ValueBinding="{Binding XPath=Item/@value}" ItemsSource="{Binding}" ShowLabels="True"> </telerik:BarSeries> </telerik:RadCartesianChart.Series> </telerik:RadCartesianChart> =============================================================
I want to work with xml..
<telerik:BarSeries CategoryBinding="{Binding XPath=@shortTime}" ValueBinding="{Binding XPath=Item/@value}" ItemsSource="{Binding}" ShowLabels="True"> </telerik:BarSeries>
I can not run it. Help..... Thanks.
Hello Adam,
Thank you for contacting Infragistics. Your code snippet doesn't appear to be from Infragistics. I can assist you with building an Infragistics owned XamDataChart using a Bar Series if you wish. Please visit our online documentation for more details on how to get started:https://ko.infragistics.com/help/wpf/datachart-category-bar-series
Let me know if you have any questions.
Sincerely,
Michael Di FilippoAssociate Software DeveloperInfragistics, Inc.www.infragistics.com/support