Is it possible to change the Radchart Series LabelMode programmatically ?
Unlike some properties such as ShowLabels, LabelMode isn't listed in the series properties.
1 Answer, 1 is accepted
1
Accepted
Nadya | Tech Support Engineer
Telerik team
answered on 04 Jun 2021, 06:34 AM
Hello, George,
According to the provided information, it is not clear which is the series type that you use. Can you please clarify that?
Note, due to the specifics of each series type the LabelMode property is applicable for BarSeries and PieSeries. In the BarSeries there is an enumeration of three options: Default, Center, and Top. In the PieSeries the enum contains two options: Horizontal and Radial.
BarSeries barSeries = new BarSeries();
barSeries.LabelMode = BarLabelModes.Center;
PieSeries pieSeries = new PieSeries();
pieSeries.LabelMode = PieLabelModes.Radial;
You are right that there is missing information about the LabelMode property in our documentation. We would address it accordingly.
In case you are using a different series, it would be greatly appreciated if you can provide more information about what is the exact goal that you want to achieve with the labels. It would be helpful if you can demonstrate it with a picture.
I hope this information is useful. Please let me know if I can assist you further.