# GRAFANA timeseries chart colors

**URL:** <https://community.grafana.com/t/grafana-timeseries-chart-colors/44219>\
**Category:** Grafana\
**Created:** [March 9, 2021, 12:13pm UTC](https://community.grafana.com/t/grafana-timeseries-chart-colors/44219 "2021-03-09T12:13:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanko25](https://avatars.discourse-cdn.com/v4/letter/v/a87d85/32.png) [@vanko25](https://community.grafana.com/u/vanko25)\
**Post date:** [March 9, 2021, 12:13pm UTC](https://community.grafana.com/t/grafana-timeseries-chart-colors/44219/1 "2021-03-09T12:13:03Z")

</div>

Hey all,  
I am trying to create a chart in GRAFANA where the color of the item changes based on its value.

Here is my query:

> SELECT  
> time\_index AS “time”,  
> stitching\_status “Status”  
> FROM etnew\_controller\_0  
> order by time\_index

How can I get the chart to look like this? The color should change based on “stitching\_status” value ![Screenshot 2021-03-09 141222](https://us1.discourse-cdn.com/grafana/original/2X/4/49f382ab9936501c4329cbdd867a0351867fd8ee.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [March 9, 2022, 12:13pm UTC](https://community.grafana.com/t/grafana-timeseries-chart-colors/44219/2 "2022-03-09T12:13:36Z")

</div>

This topic was automatically closed after 365 days. New replies are no longer allowed.
