Show percentage as datapoint

3 posts, 1 answers
  1. Scott Waye
    Scott Waye avatar
    168 posts
    Member since:
    Nov 2009

    Posted 28 Mar 2018 Link to this post

    In a stacked column graph (not the 100% one), is it possible to construct an expression that show the percentage of the amount of the series as expressed as a percentage of the total for the column, as per the attached?

    Or do I have to do this in the SQL?

  2. Answer
    Katia
    Admin
    Katia avatar
    760 posts

    Posted 02 Apr 2018 Link to this post

    Hello Scott,

    The value of the data point label is controlled with DataPointLabel property of the series. This property can be set to an expression that calculates the percentage of each series in the total value for the current category, for example:
    = Sum(Fields.Value) / Exec('categoryGroup', Sum(Fields.Value))

    In the above example, the result of the Exec function will be the sum of the values for each category.

    Regards,
    Katia
    Progress Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. Scott Waye
    Scott Waye avatar
    168 posts
    Member since:
    Nov 2009

    Posted 03 Apr 2018 Link to this post

    Thanks, dont know why I didn't see that.
Back to Top