Skip to Content
avatar image
Former Member

PIE / Donut Charts Formatting

Hi All,

I have been reading most of the post on Design Studio (even if some are still a bit to advanced for me on the SDK side) but I am still struggeling with one thing in particular with PIE Charts.

If you use the standard functionality I haven't been able to find a way to format the Data Labels on a pie chart. When you look at the image below the

text of the Measure is displaying with the Value.

Is there any way to format the chart (either through css or another) to display only the percentage or value? I have seen posts where everything was calculated manually and then spaced based on custom math, but this would only work for me if I had prior knowledge of every group that would come into the dataset.

I have been able to format the text, make it bigger, smaller etc but that doesn't really solve the problem.

Any input would be greatly appreciated.

Regards

Jaco Richards

PIE.png (8.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 30, 2014 at 10:08 AM

    I don't have any specific suggestions on this, other than vote for some of the pie chart ideas on Idea Place - see https://ideas.sap.com/D21610

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 31, 2014 at 03:25 PM

    Hi Jaco,

    We have had similar requirements where we had to display only the value in the data label and not the text. To achieve this we used our custom SDK pie charts (developed by VisualBI - the company I work for) where we could format the data label to display only the value. Please find the screenshot below.

    We also added a few other enhancements to the sdk chart like including a prefix/suffix to the data labels (Eg. if we want our data labels to be prefixed by $) and modifying the number of decimal places to be displayed etc.

    In fact this is part of our charts sdk suite(DSX) - http://visualbi.com/sap-design-studio/dsx-extensions/


    ‚Äč

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 31, 2014 at 03:45 PM

    Thanks Tammy ! Attaching image again.

    Hi Jaco,

    We have had similar requirements where we had to display only the value in the data label and not the text. To achieve this we used our custom SDK pie charts (developed by VisualBI - the company I work for) where we could format the data label to display only the value. Please find the screenshot below.

    We also added a few other enhancements to the sdk chart like including a prefix/suffix to the data labels (Eg. if we want our data labels to be prefixed by $) and modifying the number of decimal places to be displayed etc.

    In fact this is part of our charts sdk suite(DSX) - http://visualbi.com/sap-design-studio/dsx-extensions/


    dsx-piechart.png (19.3 kB)
    Add comment
    10|10000 characters needed characters exceeded