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

Format Pie Labels

5 Answers 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 15 Oct 2010, 02:28 PM
Hello,
I'm trying to format the pie labels in my report. I have the following:

Budget:
Budget Spent:      25
Budget Remain:   75

The issue is that it's displaying like this

Budget Spent:    25.00000
Budget Remain: 75.00000

I simply want the display number to show:

Budget spent:     25%
Budget Remain:  75%

How is this done within the property of that chart control?
Please keep in mind that I'm not displaying the labels the above are to explain the situation.

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 15 Oct 2010, 03:08 PM
Hi Joe,

Check the following blog post that elaborates on the matter:Formatting RadChart Labels.

Greetings,
Steve
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
Joe
Top achievements
Rank 1
answered on 15 Oct 2010, 03:26 PM
Hello,

I'm not sure if I did it in the right place:

Steps:
1. In the series property, click collections
2. A dialog box appears
3. Went to the labels property section
4. changed defaultlabelvalue from #Y to #%

Nothing happened.

Thanks
0
Steve
Telerik team
answered on 19 Oct 2010, 03:57 PM
Hi Joe,

The steps you have taken are correct and I've attached a simple pie chart that shows the functionality at hand. Since in your first post you state that you do not display the labels, please set them Visible so that you can verify whether anything changes. Also this formatting is only for the labels, if you're not displaying them, what you need them for?

All the best,
Steve
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
Joe
Top achievements
Rank 1
answered on 11 Nov 2010, 03:38 PM
This has not been answered.  I'm still not displaying the proper formatted percentages.
0
Steve
Telerik team
answered on 12 Nov 2010, 04:52 PM
Hi Joe,

We've provided a sample project in our last reply which behaves like expected - did you review it to pinpoint what differs in your case? Stating that something does not work without elaborating on the problem with code or sample project does not help us in identifying what the problem in your case is.

All the best,
Steve
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
General Discussions
Asked by
Joe
Top achievements
Rank 1
Answers by
Steve
Telerik team
Joe
Top achievements
Rank 1
Share this question
or