none
Customize Telerik RadCartesianChart XMLDataProvider RRS feed

  • Question

  • 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.

    • Moved by Md Shihab Tuesday, February 27, 2018 3:50 AM Better suited in WPF
    • Moved by Bob Ding Wednesday, February 28, 2018 8:29 AM not support third part source
    Tuesday, February 27, 2018 2:34 AM

All replies

  • This isn’t related to Azure VMs and more to do with Windows Presentation Foundation (WPF). I’ll therefore move this question to the correct category for expert advise.

    -----------------------------------------------------------------------------------------------------

    Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.

    Tuesday, February 27, 2018 3:50 AM
  • Hi,

    I suppose your question could be answered in Telerik support, Telerik forum, or Telerik Q&A.

    Regards,

    Ashidacchi
    ________________________________
    HP: http://hokusosha.com
    Blog: http://blog.goo.ne.jp/ashm314

    Tuesday, February 27, 2018 5:57 AM