# Showing Data on a Reversed Component

**URL:** <https://forum.inductiveautomation.com/t/showing-data-on-a-reversed-component/108547>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [July 16, 2025, 11:44am UTC](https://forum.inductiveautomation.com/t/showing-data-on-a-reversed-component/108547 "2025-07-16T11:44:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![annikaciul](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@annikaciul](https://forum.inductiveautomation.com/u/annikaciul)\
**Post date:** [July 16, 2025, 11:44am UTC](https://forum.inductiveautomation.com/t/showing-data-on-a-reversed-component/108547/1 "2025-07-16T11:44:45Z")

</div>

I have two simple gauges that I have set side by side. The left side is meant to show data from -6 to 0 in a dark green, and the other side is meant to show data from 0 to 14 in a bright green. When setting this up, I wasn't able to get negative numbers to work with the simple gauge, so I flipped that half of the component across its y axis and set the numbers from 0 to 6 so that it would fill correctly from right to left.

 ![Forum Screenshot 16](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/b/8b12a69b0c7caec1b2357e44e9f90be075103907.png)  
 ![Forum Screenshot 17](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/8/e8b63a6454fd0aefa80497177d510ffb05e9ed4d.png)

My problem now is that the gauges are filling uniformly in each direction because they are both reading positive numbers. I need the left side to show the negative data being read from our devices. I'm sure the way to do this is something related to a script binding, but I'm not familiar with code to figure out the mental puzzle to make this do what I need. Any suggestions on how to begin?

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [July 16, 2025, 11:47am UTC](https://forum.inductiveautomation.com/t/showing-data-on-a-reversed-component/108547/2 "2025-07-16T11:47:28Z")

</div>

What about doing your -6 to 0?

You could do a transformation. Somethink like: `{value} + 6`

That way the gauge will read show it correctly and you can change the labels.

Maybe that could work (?)

---

<div class="post-metadata">

**Author:** ![annikaciul](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@annikaciul](https://forum.inductiveautomation.com/u/annikaciul)\
**Post date:** [July 16, 2025, 11:59am UTC](https://forum.inductiveautomation.com/t/showing-data-on-a-reversed-component/108547/3 "2025-07-16T11:59:16Z")

</div>

I attempted to do that when I first set up the gauges, but the component wouldn't accept a min or max value in the negative range. My path to that solution is here:

> [@Change direction of simple gauge](https://forum.inductiveautomation.com/t/change-direction-of-simple-gauge/108377):
>
> I have a simple 1/2 circle gauge, and am trying to change it so that rather than filling clockwise, as is the current standard build in direction, it fills counterclockwise instead. I'm going from -6 on the left to 0 on the right. I want the start point of the fill to be at zero, and fill counter clockwise going down towards -6. If I change my min and max values so that the -6 is "max" and 0 is "min", the gauge component becomes extremely small rather than staying at the 1/2 circle size. If I…

I'm not quite sure how to make a value change transformation work, because this data is being fed in live from a device that outputs from -6 to 14. The right side of my gauge correctly reads and displays the positive values like I want. Then I essentially need the left side to ignore any positive values coming in, read the negative values, then translate those into a "reverse" (ie -3 becomes 3) so that they can be displayed by the fill on the gauge.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 16, 2025, 12:10pm UTC](https://forum.inductiveautomation.com/t/showing-data-on-a-reversed-component/108547/4 "2025-07-16T12:10:35Z")

</div>

One needs the `min()` of value and zero, the other needs the `max()` of value and zero. (Don't add the `kW` suffix to the numbers--do that only in the label.)
