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

RadChart YAxis Label

3 Answers 166 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Rushma
Top achievements
Rank 1
Rushma asked on 16 Aug 2011, 04:48 AM
Hi,

I am new to Telerik radControls, and I am hoping I get an answer to my question here.

I have constructed a bar graph that looks like the attached file.

How do I change my Y- Axis label to show 90%, 92%, 94% and so on.

I am using Telerik 2009.1.527.35.

Cheers.

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 17 Aug 2011, 08:42 AM
Hello Rushma,

Check the following help documentation which explains more about this.
How Do I add Axis Labels Programmatically?.

Thanks,
Princy.
0
Peshito
Telerik team
answered on 18 Aug 2011, 12:52 PM
Hi Rushma,

In order to format the Y-Axis labels in the way you want, you should use the ValueFormat property of the Axis as shown in the following code:
radChart.PlotArea.YAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.Percent;
You can also find more about labels here:
http://www.telerik.com/help/aspnet-ajax/radchart-default-label-value.html
http://www.telerik.com/help/aspnet-ajax/radchart-axis-labels.html

Greetings,
Peshito
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Rushma
Top achievements
Rank 1
answered on 18 Aug 2011, 10:17 PM
Thanks a lot Peshito and Princy.

Cheers.
Tags
Chart (Obsolete)
Asked by
Rushma
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Peshito
Telerik team
Rushma
Top achievements
Rank 1
Share this question
or