# Any help or insight on how this might have been done?

**URL:** <https://forum.inductiveautomation.com/t/any-help-or-insight-on-how-this-might-have-been-done/92108>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 19, 2024, 4:48pm UTC](https://forum.inductiveautomation.com/t/any-help-or-insight-on-how-this-might-have-been-done/92108 "2024-06-19T16:48:22Z")\
**Posts on this page:** 5\
**Page:** 4

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [July 8, 2024, 3:29pm UTC](https://forum.inductiveautomation.com/t/any-help-or-insight-on-how-this-might-have-been-done/92108/62 "2024-07-08T15:29:01Z")

</div>

I believe the error message is likely telling you that the column `'Time'` does not exist.

In an earlier screen shot of your code (it's much more helpful if you post preformatted code rather than a screen snip), it shows you tring to access the `'Time'` column, `dataset.getValueAt(i, 'Time')`. Now you've shown a dataset that doesn't have a `Time` column but rather a `t_stamp` column. These need to match in order for the function to work, other wise you will get an error similar to what you are seeing.

If you are unsure of the column names, or if they might change for whatever reason, and generally for performance purposes, just use the index as @amarks has already shown.

---

<div class="post-metadata">

**Author:** ![D\_Mitri\_Tompkins](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@D\_Mitri\_Tompkins](https://forum.inductiveautomation.com/u/D_Mitri_Tompkins)\
**Post date:** [July 8, 2024, 3:30pm UTC](https://forum.inductiveautomation.com/t/any-help-or-insight-on-how-this-might-have-been-done/92108/63 "2024-07-08T15:30:03Z")

</div>

Holy hell dude thank you so much, its seemingly working aside from the fact that it is showing this weird color I do not have selected anywhere instead of the red and green it should have, but that is something I should be able to work out in time, thank you.

---

<div class="post-metadata">

**Author:** ![D\_Mitri\_Tompkins](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@D\_Mitri\_Tompkins](https://forum.inductiveautomation.com/u/D_Mitri_Tompkins)\
**Post date:** [July 8, 2024, 3:35pm UTC](https://forum.inductiveautomation.com/t/any-help-or-insight-on-how-this-might-have-been-done/92108/64 "2024-07-08T15:35:03Z")

</div>

unless you happen to know why it is doing this, it is showing the color as such:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/d/0d15e0f619c17b3da032ea9cc23a2e4bbc5fb2b1.png)

Even though these are the only colors I have selected, with the entire rest being the default/ unselected

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/7/37f76532256a4e872a7bc49725994c45d619051d.png) ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/d/ed21180c1a9919367c709b37ef26a090b7a89588.png)

---

<div class="post-metadata">

**Author:** ![D\_Mitri\_Tompkins](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@D\_Mitri\_Tompkins](https://forum.inductiveautomation.com/u/D_Mitri_Tompkins)\
**Post date:** [July 8, 2024, 6:16pm UTC](https://forum.inductiveautomation.com/t/any-help-or-insight-on-how-this-might-have-been-done/92108/65 "2024-07-08T18:16:39Z")

</div>

Also also, sorry for repeated questions, but how would I make it display the whole day up to current time instead of just an hour?

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [July 8, 2024, 6:29pm UTC](https://forum.inductiveautomation.com/t/any-help-or-insight-on-how-this-might-have-been-done/92108/66 "2024-07-08T18:29:47Z")

</div>

It's going to be dependent on your dataset.

Adjust your tag history binding.

As far as colors go, I'm not as familiar with Perspective, so I couldn't tell you off-hand

[Previous page](https://forum.inductiveautomation.com/t/any-help-or-insight-on-how-this-might-have-been-done/92108.md?page=3)
