# Pie Chart Color Based on Value

**URL:** <https://forum.inductiveautomation.com/t/pie-chart-color-based-on-value/51637>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [October 5, 2021, 9:10pm UTC](https://forum.inductiveautomation.com/t/pie-chart-color-based-on-value/51637 "2021-10-05T21:10:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrebro](https://avatars.discourse-cdn.com/v4/letter/r/3da27b/32.png) [@rrebro](https://forum.inductiveautomation.com/u/rrebro)\
**Post date:** [October 5, 2021, 9:10pm UTC](https://forum.inductiveautomation.com/t/pie-chart-color-based-on-value/51637/1 "2021-10-05T21:10:59Z")

</div>

I am wondering how can I change the color of my pie charts based on the category values? I know there is a configureCharts routine but there is no getBarColor like the bar charts

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [October 5, 2021, 9:18pm UTC](https://forum.inductiveautomation.com/t/pie-chart-color-based-on-value/51637/2 "2021-10-05T21:18:47Z")

</div>

Maybe this will help...

> [@Pie chart color scripting](https://forum.inductiveautomation.com/t/pie-chart-color-scripting/48451):
>
> hi I need to assign pie chart colours based on the dataset column names. I had i look into documentation but still don’t know frowning Any chance you advise me in the right direction please? Regards
