# Bar Char Series Colors

**URL:** <https://forum.inductiveautomation.com/t/bar-char-series-colors/23487>\
**Category:** Ignition\
**Created:** [March 20, 2019, 4:31pm UTC](https://forum.inductiveautomation.com/t/bar-char-series-colors/23487 "2019-03-20T16:31:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David.Reed.Schmidt](https://avatars.discourse-cdn.com/v4/letter/d/5f9b8f/32.png) [@David.Reed.Schmidt](https://forum.inductiveautomation.com/u/David.Reed.Schmidt)\
**Post date:** [March 20, 2019, 4:31pm UTC](https://forum.inductiveautomation.com/t/bar-char-series-colors/23487/1 "2019-03-20T16:31:33Z")

</div>

I would like to customize the Series Colors on a Bar Chart component. I’m querying downtime counts by reason from an SQL database. Each downtime reason has a color associated with it. I would like the Series Color on the Bar Chart to reflect these colors. Any suggestions?

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [March 20, 2019, 5:20pm UTC](https://forum.inductiveautomation.com/t/bar-char-series-colors/23487/2 "2019-03-20T17:20:06Z")

</div>

try this:

> [@Bar chart Color based on different values](http://forum.inductiveautomation.com/t/bar-chart-color-based-on-different-values/15188):
>
> Hello everybody, i am working on a simple bar chart and i would like to color the bars based on several target values. Following example: [image] As you can see i would like to import machine based target values into the barchart, so the formatting can be made by these values. It’s possible for me to provide the target values as a dataset (Machine || target) in Ignition, but i am not shure how to use them in the scripting. I’m very new into developing Ingition applications, so i hope someon…
