3 Answers, 1 is accepted
0
Hi Leonard,
There are two approaches to place labels inside the center of the bars:
There are two approaches to place labels inside the center of the bars:
- Programmatically. Just refer to the following code snippet:
RadChart1.Series[0].Appearance.LabelAppearance.LabelLocation = Telerik.Charting.Styles.StyleSeriesItemLabel.ItemLabelLocation.Inside; RadChart1.Series[0].Appearance.LabelAppearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.Center; - Using the designer:
- In the Visual Studio Property Builder navigate to the Series collection.
- Choose the preferred Series from the collection, and in its property builder navigate to: Appearance >> LabelAppearance >> LabelLocation.
- Set the LabelLocation to Inside.
- Then navigate to Appearance >> LabelAppearance >> Position >> AlignedPosition.
- Set the AlignedPosition to Center.
If you need additional assistance, do not hesitate to contact me.
Regards,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Tim
Top achievements
Rank 1
answered on 09 Feb 2008, 06:22 PM
Thanks Nikolay, that's exactly what I wanted for one of the labels. But what about the other label that goes on top of the bar? How do you place another label on top of the same bar. For instance, if this is for a movie theatre, I would like to show how many people came to any given movie (which would be the number inside the bar.. MiddleCenter), but also I would like to show how much money we made for that movie (which would be the label at the top of the bar... TopCenter). Any suggestions on that???
0
Hi Leonard,
Unfortunately, RadChart for WinForms does not support multiple labels. It has only one label which shows the actual value of the corresponding bar.
Contact me, if I can be of your further assistance.
Greetings,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Unfortunately, RadChart for WinForms does not support multiple labels. It has only one label which shows the actual value of the corresponding bar.
Contact me, if I can be of your further assistance.
Greetings,
Nikolay
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center