Customize Telerik RadCartesianChart XMLDataProvider

plugins

#1

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.