Hi,
I'm using MVVM auto binding to create a Bar Chart
in my xaml,
Thanks,
I'm using MVVM auto binding to create a Bar Chart
in my xaml,
<
telerikChart:RadChart
Width
=
"200"
Height
=
"200"
ItemsSource
=
"{Binding DisplayedCapacitySeries}"
Padding
=
"3"
>
....
<
telerik:SeriesMapping.ItemMappings
>
<
telerik:ItemMapping
DataPointMember
=
"YValue"
FieldName
=
"Capacity_TB"
/>
<
telerik:ItemMapping
DataPointMember
=
"XCategory"
FieldName
=
"CapacityName"
/>
</
telerik:SeriesMapping.ItemMappings
>
The chart was created at the first loading. However, the Chart is not refreshed when Caparity_TB is changed although INotifyPropertyChanged is implemented in the ViewModel class.
Also I want to show the legend with the CapacityName. I'm using LegendDisplayMode="DataPointLabel". However, the legend shows as "item 0 .. item 1" instead of the CapacityName on the XCategory.
Also how can I hide the legend header?
Thanks,