# Fixed value in XY chart and color change based on value

**URL:** <https://forum.inductiveautomation.com/t/fixed-value-in-xy-chart-and-color-change-based-on-value/33921>\
**Category:** Ignition\
**Created:** [April 14, 2020, 3:52pm UTC](https://forum.inductiveautomation.com/t/fixed-value-in-xy-chart-and-color-change-based-on-value/33921 "2020-04-14T15:52:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mario.colombo91](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mario.colombo91/32/14148_2.png) [@mario.colombo91](https://forum.inductiveautomation.com/u/mario.colombo91)\
**Post date:** [April 14, 2020, 3:52pm UTC](https://forum.inductiveautomation.com/t/fixed-value-in-xy-chart-and-color-change-based-on-value/33921/1 "2020-04-14T15:52:50Z")

</div>

Greetings,

i have an XY Chart where the serie is rendered as column. I want to add a line with the “target” for the columns, based on a fixed value (ex. 50). I thought to insert a new serie with a fixed value for each column, this could work?

If i want to change the color of the column based on the fixed value (below in red, else blue), i can make it possible by scripting on the valuechanging of the column serie?

Thanks for all the suggestions 🙂
