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

Display as millions instead of thousands

3 Answers 56 Views
Chart
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 16 Jun 2011, 08:39 AM
Would it be possible to display the values in the chart as 1,44M instead of 1440,00K?

3 Answers, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 21 Jun 2011, 08:40 AM
Hi John,

You can use Custom Numeric Format Strings to represent the values in MB. For example the "," will divide the value by 1000 so add a "," to gain the MB representation and concatenate the "MB" string to the current value.

All the best,
Evgenia
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
John
Top achievements
Rank 1
answered on 28 Jun 2011, 07:09 AM
I understand how you mean, not how to apply it though.

<Charting:BarLabelSettings LabelDisplayMode="MidPoint" Distance="0" />

I don't have many options there. How can I solve this?
0
Evgenia
Telerik team
answered on 30 Jun 2011, 08:39 AM
Hello John,

You can set the desired format using the ItemLabelFormat property of the Series Definition. You may find more information as well as sample code snippets in our help topic.

All the best,
Evgenia
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
John
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
John
Top achievements
Rank 1
Share this question
or