Run Time Manipulation of Value

2 posts, 0 answers
  1. Zubair
    Zubair avatar
    13 posts
    Member since:
    Nov 2011

    Posted 23 Mar 2012 Link to this post

    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.
  2. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 28 Mar 2012 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top