# Single color for a large bar chart (90 bars)

**URL:** <https://discourse.nodered.org/t/single-color-for-a-large-bar-chart-90-bars/84798>\
**Category:** Dashboard\
**Created:** [22 January 2024 12:40 UTC](https://discourse.nodered.org/t/single-color-for-a-large-bar-chart-90-bars/84798 "2024-01-22T12:40:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [22 January 2024 12:40 UTC](https://discourse.nodered.org/t/single-color-for-a-large-bar-chart-90-bars/84798/1 "2024-01-22T12:40:04Z")

</div>

I have a bar chart with 90 bars.  
I want them to be of the same color.  
Unfortunately I don't understand the following guide line in the docs.

If you want all the bars to be the same colour, then use the `label` property instead.

How should my input to the chart be done?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/5/e5f8a59a33c24265d0e1cc60d72a6baf568454b9.png)

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [22 January 2024 12:58 UTC](https://discourse.nodered.org/t/single-color-for-a-large-bar-chart-90-bars/84798/2 "2024-01-22T12:58:04Z")

</div>

There is a check box in the ui-chart config when you select bar chart  
`Use first colour for all bars`  
Also stated here [node-red-dashboard/Charts.md at master · node-red/node-red-dashboard · GitHub](https://github.com/node-red/node-red-dashboard/blob/master/Charts.md)

---

<div class="post-metadata">

**Author:** ![juntiedt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juntiedt/32/58357_2.png) [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Post date:** [22 January 2024 13:23 UTC](https://discourse.nodered.org/t/single-color-for-a-large-bar-chart-90-bars/84798/3 "2024-01-22T13:23:24Z")

</div>

that was to easy 😉  
many thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 February 2024 13:23 UTC](https://discourse.nodered.org/t/single-color-for-a-large-bar-chart-90-bars/84798/4 "2024-02-21T13:23:44Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
