# Bar with different values and colors

**URL:** <https://forum.inductiveautomation.com/t/bar-with-different-values-and-colors/43918>\
**Category:** Ignition\
**Created:** [February 28, 2021, 10:02pm UTC](https://forum.inductiveautomation.com/t/bar-with-different-values-and-colors/43918 "2021-02-28T22:02:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipe2010silva](https://avatars.discourse-cdn.com/v4/letter/f/54ee81/32.png) [@felipe2010silva](https://forum.inductiveautomation.com/u/felipe2010silva)\
**Post date:** [February 28, 2021, 10:02pm UTC](https://forum.inductiveautomation.com/t/bar-with-different-values-and-colors/43918/1 "2021-02-28T22:02:41Z")

</div>

Goodnight. I came here to ask for your help. I have three historical Boolean tags that inform when the machine is running at high, medium and low speed and starting from the system.tag.queryTagHistory (Duration On) function I have the time that a particular machine is running at different speeds based on the interval of time I spent (startDate: 7 a.m endDate: Now (6000)). The idea would be to create a bar to inform, over time, the fluctuation of the time the machine is running at each speed. As shown in the figure below:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/9/e95357232c27053079de4cd35e1c9041bf100681.png)

The idea is to create just one bar, in the image there are two just to symbolize the fluctuation of each speed as time passes. I tried but I ran out of attempts. Actually, I don’t even know if it’s possible, but I would like to know on the forum because there is a lot of knowledge here.

I don’t know if I managed to be clear on the question, but thank you in advance.

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [March 1, 2021, 12:43am UTC](https://forum.inductiveautomation.com/t/bar-with-different-values-and-colors/43918/2 "2021-03-01T00:43:49Z")

</div>

7.9 or 8.0+ ?

Do you have the reporting module? I have done similar in it.

---

<div class="post-metadata">

**Author:** ![felipe2010silva](https://avatars.discourse-cdn.com/v4/letter/f/54ee81/32.png) [@felipe2010silva](https://forum.inductiveautomation.com/u/felipe2010silva)\
**Post date:** [March 1, 2021, 12:48am UTC](https://forum.inductiveautomation.com/t/bar-with-different-values-and-colors/43918/3 "2021-03-01T00:48:45Z")

</div>

7.9

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [March 1, 2021, 7:18am UTC](https://forum.inductiveautomation.com/t/bar-with-different-values-and-colors/43918/4 "2021-03-01T07:18:25Z")

</div>

> [@Matrix\_Engineering](#):
>
> Do you have the reporting module?

And regarding this?

---

<div class="post-metadata">

**Author:** ![felipe2010silva](https://avatars.discourse-cdn.com/v4/letter/f/54ee81/32.png) [@felipe2010silva](https://forum.inductiveautomation.com/u/felipe2010silva)\
**Post date:** [March 1, 2021, 8:40am UTC](https://forum.inductiveautomation.com/t/bar-with-different-values-and-colors/43918/5 "2021-03-01T08:40:57Z")

</div>

Yes, @Matrix_Engineering, I have the Reporting Module.

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [March 1, 2021, 4:58pm UTC](https://forum.inductiveautomation.com/t/bar-with-different-values-and-colors/43918/6 "2021-03-01T16:58:35Z")

</div>

[https://inductiveuniversity.com/video/bar-chart/7.9?r=%2Fvideo%2Fsearch%2F%3Fq%3Dstacked%20bar%20report%26checked\_topics%3D](https://inductiveuniversity.com/video/bar-chart/7.9?r=%2Fvideo%2Fsearch%2F%3Fq%3Dstacked%20bar%20report%26checked_topics%3D)
