You code looks correct. However, you have not taken into account, that the constructor of your control will be executed before the setters of the two properties are called. As a result, you enter incorrect strings for your ItemMappings. One simple way to fix this, is the update the SeriesMappings collection, when the value of one of your properties changes as well. For example:
DependencyProperty YValueProperty = DependencyProperty.Register(
OnYValuePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
var customPieChart = sender
SeriesMapping mapping =
ItemMapping map1 =
ItemMapping map2 =
ItemMapping map3 =
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items