# Chart line color

**URL:** <https://discourse.nodered.org/t/chart-line-color/13427>\
**Category:** Dashboard\
**Created:** [18 July 2019 07:48 UTC](https://discourse.nodered.org/t/chart-line-color/13427 "2019-07-18T07:48:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [18 July 2019 07:54 UTC](https://discourse.nodered.org/t/chart-line-color/13427/2 "2019-07-18T07:54:58Z")

</div>

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/chart-line-color/13427)._
