property in your sample does not have any effect because it is not a part of the business object DataPoint
, to which you have bound your chart.
In order to set it dynamically you can subscribe to the DataBindingComplete
event in the following manner :
private void PieSeries_DataBindingComplete(object sender, EventArgs e)
(sender as PieSeries).DataPoints.OffsetFromCenter = 0.07;
(sender as PieSeries).DataPoints.IsSelected = true;
Hope this helps.
the Telerik team