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

How to format numeric x-axis

1 Answer 102 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Fergus Bown
Top achievements
Rank 1
Fergus Bown asked on 17 Feb 2009, 04:59 PM
Hi,
How do I get the decimal separator to appear in x-axis values. eg. '10,000'?
thanks

PS. Your help here really is poor. See:
ms-help://telerik.aspnetajax.radcontrols.2008.Q3/telerik.aspnetajax.radcontrols.api.2008.Q3/Telerik.Web.UI~Telerik.Charting.Styles.ChartValueFormat.html

I should not have to try every variant.

I note number puts in the thousand separatot, but it puts unecessary values after the decimal seperator. EG. 10,000.000
I just want 10,000

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 20 Feb 2009, 06:54 AM
Hello Fergus,

You can supply any valid Standard Numeric Format String or Custom Numeric Format String to the XAxis.Appearance.CustomFormat property and RadChart will respect it when showing the axis items values.

Kind regards,
Ves
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Chart (Obsolete)
Asked by
Fergus Bown
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or