# Analog Indicator Binding on Value Indicator on fill color

**URL:** <https://forum.inductiveautomation.com/t/analog-indicator-binding-on-value-indicator-on-fill-color/5774>\
**Category:** Ignition\
**Created:** [January 31, 2013, 6:57pm UTC](https://forum.inductiveautomation.com/t/analog-indicator-binding-on-value-indicator-on-fill-color/5774 "2013-01-31T18:57:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tailfire](https://avatars.discourse-cdn.com/v4/letter/t/b5a626/32.png) [@tailfire](https://forum.inductiveautomation.com/u/tailfire)\
**Post date:** [January 31, 2013, 6:57pm UTC](https://forum.inductiveautomation.com/t/analog-indicator-binding-on-value-indicator-on-fill-color/5774/1 "2013-01-31T18:57:50Z")

</div>

Is there a quick way I can bind the color property on the ‘[value indicator]’ to match the set points?  
On the “Moving Analog Indicator”

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [January 31, 2013, 7:40pm UTC](https://forum.inductiveautomation.com/t/analog-indicator-binding-on-value-indicator-on-fill-color/5774/2 "2013-01-31T19:40:49Z")

</div>

I don’t know about a quick way but you can do one of two things:

1. Bind the “Value Indicator Fill” property to an expression that returns the right color based on the process value. The only problem is some of the properties are not available in binding. With that said, something like:`if({Path/To/Tag/For/Value} < 100, toColor(0,255,0,255), toColor(255,0,0,255))`You can do a more complicated expression if needed.

2. You can add a custom property to the component that is a float and use the style customizer to change the colors based on the value. You won’t have to create a complicated expression in that case.

---

<div class="post-metadata">

**Author:** ![Johnathon](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@Johnathon](https://forum.inductiveautomation.com/u/Johnathon)\
**Post date:** [February 8, 2020, 1:35am UTC](https://forum.inductiveautomation.com/t/analog-indicator-binding-on-value-indicator-on-fill-color/5774/3 "2020-02-08T01:35:05Z")

</div>

Is there a simple way to just link the Value Indicator Fill (binding or expression?) to the correct bar color properties? Searched all over for a sort of Gradient fill but came up empty.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [February 10, 2020, 6:30pm UTC](https://forum.inductiveautomation.com/t/analog-indicator-binding-on-value-indicator-on-fill-color/5774/4 "2020-02-10T18:30:46Z")

</div>

The “Value Indicator Fill” property is just a simple color. You can’t apply a gradient fill to that property. However, you can bind that property to a tag or expression to change it dynamically.
