This is a migrated thread and some comments may be shown as answers.

Write value on the bar

1 Answer 30 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Paulo
Top achievements
Rank 1
Paulo asked on 27 Apr 2012, 12:18 PM
I have a chart and need to write the values ​​inside the bars 
Example:

In my chart, I have 3 series. 1) 56%, 2) 85% and 3) 12%.

These values ​​should be on the bars and not above them 

Vertical Orientation.

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 01 May 2012, 08:35 AM
Hello,

There are two approaches to place labels inside the center of the bars:

 1.  Programmatically -refer to the following code snippet:

RadChart1.Series[0].Appearance.LabelAppearance.LabelLocation = Telerik.Charting.Styles.StyleSeriesItemLabel.ItemLabelLocation.Inside;

 2. Using the designer:

    1. In the Visual Studio Property Builder navigate to the Series collection.
    2. Choose the preferred Series from the collection, and in its property builder navigate to: Appearance >> LabelAppearance >> LabelLocation.
    3. Set the LabelLocation to Inside.
Kind regards,
Evgenia
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Chart (Obsolete)
Asked by
Paulo
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or