# How to change the widget graph colors?

**URL:** <https://www.dolibarr.org/forum/t/how-to-change-the-widget-graph-colors/21376>\
**Category:** Other native modules\
**Tags:** Graphs, Question, Help, v14, v12\
**Created:** [October 31, 2021, 9:44am UTC](https://www.dolibarr.org/forum/t/how-to-change-the-widget-graph-colors/21376 "2021-10-31T09:44:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurksallad](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/g/9d8465/32.png) [@gurksallad](https://www.dolibarr.org/forum/u/gurksallad)\
**Post date:** [October 31, 2021, 9:44am UTC](https://www.dolibarr.org/forum/t/how-to-change-the-widget-graph-colors/21376/1 "2021-10-31T09:44:47Z")

</div>

In 12.x there were only two graphs (purple and blue) in the widget which was okay, but after upgrading to 14.x another color - yellow - was added. This color is very hard to see for any of us. Is there any way to change the graph colors?

 ![2021-10-31_103706](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/6/632bc5f39a1bffee09f094b86096bb7d79798ca6.png)

---

<div class="post-metadata">

**Author:** ![gurksallad](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/g/9d8465/32.png) [@gurksallad](https://www.dolibarr.org/forum/u/gurksallad)\
**Post date:** [November 25, 2021, 8:13am UTC](https://www.dolibarr.org/forum/t/how-to-change-the-widget-graph-colors/21376/2 "2021-11-25T08:13:24Z")

</div>

After poking around in the source code it seems that the graph colors are hard coded. That sucks.
