web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Decimals in pie chart

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I already tried looking on the forum for this issue, but I could not find anything that worked.

I have a pie chart in a dashboard with the XML attribute Label="#PERCENT", and I'd like to change how decimal are displayed. At the moment (by default) the label has two decimals, I'd like to remove them so that there are only integers.

By looking on the forums and other blogs I saw that some people suggested using the attribute LabelFormat, but even if I tried it multiple times it never worked.

The XML for the series is the following:

<Series ShadowOffset="0" IsValueShownAsLabel="false" Label="#PERCENT" Font="{0}, 9.5px" LabelForeColor="59, 59, 59" ChartType="pie" CustomProperties="PieLabelStyle=Outside, PieDrawingStyle=Concave, PieStartAngle=270, MinimumRelativePieSize=70, PieLineColor=Black" IsVisibleInLegend="true">

And here's a cutout from the pie chart:

3326.Immagine.png

 

Regards,

Massimo

 

*This post is locked for comments

I have the same question (0)
  • ManirajKV Profile Picture
    1,477 on at

    Hi MarianiM,

    Try this link, It will helps to resolve ur issue.

    crmchartguy.wordpress.com/.../percentage

    https://crmchartguy.wordpress.com/2013/06/24/labelformat-cheat-sheet/

  • Community Member Profile Picture
    on at

    Hi Maniraj,

    thanks for the quick reply, but as I said I already tried using the attribute LabelFormat.

    Also I already tried looking for an answer in that blog, and I could not find any. Thanks to your comment I gave it another look and saw in the comments an user asking for the same thing I asked here (link), the autor of the blog said that it's a limitation in the charts, so I guess it's not possibile, which I guess explains why I could not find a solution.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans