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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Charts do not respect / adhere to XML

(2) ShareShare
ReportReport
Posted on by 6
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
    42 on at
    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 :)
  • CU13111857-0 Profile Picture
    6 on at
    Sorry if I was unclear. Those are the 2 different permutations that I have tried.
    Are you suggesting that there are now no color palettes to use, and all arrays need to be defined manually?
     
    The fix did not produce the expected results, but I can see that the preview in the chart builder did update. The Unified Interface in Dynamics is simply not respecting the XML file.
     
    Do you have an example of a functioning chart definition from Dynamics?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 180 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 119

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans