This question is locked. New answers and comments are not allowed.
Hi,
I am following your example code to bind data to a Chart. I am able to see the data but not any labels. Labels only display as Item 1, Item 2 etc. even though I specify a DisplayMemberPath on the ChartLegend.
Any help will be appreciated.
Thanks,
Anton
I am following your example code to bind data to a Chart. I am able to see the data but not any labels. Labels only display as Item 1, Item 2 etc. even though I specify a DisplayMemberPath on the ChartLegend.
<telerik:RadChart d:LayoutOverrides="Width, Height" ItemsSource="{Binding ActivitySummaryModel}" MaxHeight="610"> <telerik:RadChart.DefaultSeriesDefinition> <telerik:PieSeriesDefinition /> </telerik:RadChart.DefaultSeriesDefinition> <telerik:RadChart.DefaultView> <telerik:ChartDefaultView> <telerik:ChartDefaultView.ChartLegend> <telerik:ChartLegend x:Name="chartLegend" DisplayMemberPath="Category" Header="Category" /> </telerik:ChartDefaultView.ChartLegend> <telerik:ChartDefaultView.ChartArea> <telerik:ChartArea LegendName="chartLegend" DisplayMemberPath="Count" > <telerik:ChartArea.Extensions> <telerik:CameraExtension /> </telerik:ChartArea.Extensions> </telerik:ChartArea> </telerik:ChartDefaultView.ChartArea> </telerik:ChartDefaultView> </telerik:RadChart.DefaultView> </telerik:RadChart>Any help will be appreciated.
Thanks,
Anton