D365 Customization Barriers and How to Overcome Them: ohya's Practical Diary [#003] ~Graph Axis is All Over the Place!? Restore Readability with XML Editing!~
Hello, this is ohya.
This time, we will introduce the actual steps we took to customize the appearance of Dynamics 365 system graphs, with images.
Even if you just want to make it a little easier to see,It was surprisingly deepis...!!
003. This time's problem: "Difficult to see 3-axis graphs"

This is a three-axis graph created for the sales team, showing "target amount," "actual amount," and "achievement rate."
At first glance, this graph seems useful, butAxis memory is inconsistentAnd it was very difficult to see.
- Target amount (e.g. 3,000,000 yen)
- Actual amount (e.g. 1,277,898 yen)
- Achievement rate (e.g. 43%)
If this continues,It is difficult to compare visually, and users are unhappy with this.....
Solution: Edit the graph XML directly!
The D365 system graph isExport as a SolutionThen,Customizable by editing the XML file.
Step-by-step instructions:
1. Export a lightweight solution containing the graph of interest
1-1. Creating a goal solution

Exporting the entire solution will take a long time, so create a new, lightweight solution that contains only the graph of interest.
1-2. Add the necessary components
Open the solution and select "Add Existing" -> "Table".

Search for and add the table that contains the target graph (e.g., Goals).

Open the "Graph" tab and select the graph you want to edit (e.g., target vs. actual results, achievement rate).

Make sure it is set to "1 graph" and add it.
Then export the solution you created and download the ZIP file.
2. Unzip the ZIP file.customizations.xmlopen

3. Search for the XML of the target graph
<visualization> Find it in the tag and fix it.
4. Add and adjust axis settings as follows:
🛠️ Fix point 1: Fix the Y-axis scale
This fixes the Y-axis scale for the target amount and actual results, making comparison easier.
Example:
AxisY To Minimum="0" Add
AxisY2 To Minimum="0" Maximum="150" Interval="30" Add (for achievement rate)
🛠️ Correction point 2: Adjust the position of the secondary axis

🖼️ Before / After Comparison


- Before: The axes were all messed up and confusing
- After: The amount and achievement rate are clearly separated, increasing visibility!
✅ Summary
- The D365 graph isFine-tune with XML editing
- Just by changing the axis scale and display order,Greatly improved user experience
- Even if you just want to make it a little easier to see,Surprisingly deep!
To the end
To be honest, I thought, "If I just wanted to tweak the appearance of the graph a bit, it would be done quickly."
But when you actually try it,Setting the axes, display order, and understanding the XML structure take more time than I expected.It was work.
In particular,The achievement rate bar is too small to seeis not solved by simply adding data,The idea of dividing the axiswas needed.
These "slightly strange appearances"A lot of stress for usersThis may be the case.
That is whyAdjusting appearance is also a great part of customizationI realized this through this experience.
最後まで読んでくださり、ありがとうございました。
Stay tuned for the next post!
Person who wrote this article
Articles in the same category
-
Why not learn the essence of CRM in our "CRM Introductory Course"? -
Are small and medium-sized enterprises at risk? Strengthening governance and security measures […] -
Living with "Doko Bus +" ♦ Special Edition: Introducing the operation screen -
Living with "Doko Bus +" ♦ Part 3: Providing easy local transportation [...] -
D365 Customization Barriers and How to Overcome Them: ohya's Practical Notes [#010[...] -
Living with "Doko Bus +" ♦ Part 2: The ease that comes with convenience [...]
