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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Charts do not respect / adhere to XML

(1) ShareShare
ReportReport
Posted on by 2
I have defined some charts for our users to use in Dynamics Sales, and they are all in the bright neon pastel which is really abrasive to look at. I am trying to change the palette used in the chards and I cannot get the colors to change from the neon pastels.
 
I have tried to update the XML file using the XRMToolboxtools, and by importing an xml file that I edited in vscode, and all charts still default to this neon pastel theme. I can see the file edits being reflected in Dynamics, but the graphic rendered is not respecting the new xml.
 
I have changed the Chart tag as suggested, trying the predefined palettes and different color codes, and I cannot get the color theme to change.
<Chart CustomColorOverride="true" Palette="SeaGreen">
<Chart Palette="None" PaletteCustomColors="59,121,183; 153,235,237; 0,206,211; 0,183,195; 219,57,35; 226,97,79;244,192,185;">
Any guidance on fixing the charts would be appreciated.
Categories:
I have the same question (0)
  • Suggested answer
    Jim FA Profile Picture
    12 on at
    Charts do not respect / adhere to XML
    A while back Microsoft changed how the XML works and it defaults to a new style of colouring for charts.

    However, you can override this. I believe you need to add the following variable to the <chart> field in the XML:
     
    CustomColorOverride="true"
     
    So, e.g.     <Chart CustomColorOverride="true" Palette="None" PaletteCustomColors="170,24,44; 65,64,66; 215,164,97; 60,180,229;">
     
    I think from your description you need to remove the first <chart> field line and include it all in one <chart> tag line.
     
    This worked for me when I ran into this a while back. Hopefully for you, too! If so, please confirm :)

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 107 Super User 2025 Season 2

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 89

#3
#ManoVerse Profile Picture

#ManoVerse 58

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans