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

Run Time Manipulation of Value

1 Answer 52 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Zubair
Top achievements
Rank 1
Zubair asked on 23 Mar 2012, 03:25 PM
Hi,

I would like to switch between Value and the Percent representation on the chart on the basis of the selection of radio button.
I am sending the data in the form of values in the data set and would like to use some type of content format to achieve this functionality. So that i dont have to code extra for calculating the percentage and sending that to the data set of the RadChart instead.

I am attaching the user interface i have achieved and also the changes for the UI i would like to achieve.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 28 Mar 2012, 03:07 PM
Hello,

You can use the "#%" format expression to achieve this. It calculates a percentage value of the current slice value, based on the total of all values in the series. 

Regards,
Evgenia
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Chart
Asked by
Zubair
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or