# Consistency on Chart Colors With Live Data

**URL:** <https://discourse.nodered.org/t/consistency-on-chart-colors-with-live-data/54530>\
**Category:** General\
**Created:** [30 November 2021 19:47 UTC](https://discourse.nodered.org/t/consistency-on-chart-colors-with-live-data/54530 "2021-11-30T19:47:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [30 November 2021 20:46 UTC](https://discourse.nodered.org/t/consistency-on-chart-colors-with-live-data/54530/2 "2021-11-30T20:46:10Z")

</div>

Here is one way

> [@Chart line color](https://discourse.nodered.org/t/chart-line-color/13427/2):
>
> No super simple way to do that. But what you can do is preset them in the order you want. The colours are set in the config. The first topic to arrive gets first colour, etc. So create an inject that sends a null message on each topic in order you want at deploy time. Then when real data arrives it will pick up the colour you want.

---

_[View the full topic](https://discourse.nodered.org/t/consistency-on-chart-colors-with-live-data/54530)._
