# Setting up a Time Series chart - Help-

**URL:** <https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [February 21, 2022, 3:43pm UTC](https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370 "2022-02-21T15:43:35Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [February 21, 2022, 3:43pm UTC](https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370/1 "2022-02-21T15:43:35Z")

</div>

Good day! Im needing to set up a time series chart in perspective. Should i bind the series or the data to tag history?

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [February 22, 2022, 4:14pm UTC](https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370/2 "2022-02-22T16:14:29Z")

</div>

Hi @mjohnson0238, this should help: [Time Series Chart - Perspective Chart Components](https://inductiveuniversity.com/videos/time-series-chart/8.1)

If you need more information, please let me know.

---

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [May 21, 2024, 12:23am UTC](https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370/3 "2024-05-21T00:23:17Z")

</div>

I realize this is an older topic, but this is my first foray into working with charts in Perspective. I read the Docs, follow the example, but I get nothing displayed on the chart.

If I change the tag to a normal tag binding, I get an error that states the chart is expecting an object. So, back to the Tag History, check the dataset icon, and the value column, whatever is supposed to be there, is blank. Also, the docs show three columns in their dataset. I am using `Tags>Sample_Tags>Realistic0,1,2`.

I can see the tag values changing in the Tag Browser, so I know there is something there.

In the Gateway config, I see the Tag Historian module is running (this is a dev/trial license).

So, I'm not sure what I am missing here.

---

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [May 21, 2024, 12:26am UTC](https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370/4 "2024-05-21T00:26:03Z")

</div>

Ah, I think I got it. Resetting the trial version might have had something to do with it, 🤦‍♂️

EDIT:  
Well, now I can't get it to work again. I tried moving the tag binding to a production tag, got nothing, then back to the sample tag, and have nothing still... Not sure what the deal is.

2nd EDIT: So the `Realistic0` tag outputs empty data for the value, but a normal direct tag binding to a custom prop displays the value as it changes. Now to find a production tag that I can display...

---

<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:** [May 21, 2024, 2:06am UTC](https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370/5 "2024-05-21T02:06:13Z")

</div>

Tag binding, direct or indirect, is just for live values. Charts need **history** bindings. The Power Chart does its own history bindings under the hood, but the pen definitions have to include the details needed for those internal history bindings. Other charts require actual history bindings, or scripted equivalents.

---

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [May 21, 2024, 4:48pm UTC](https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370/6 "2024-05-21T16:48:14Z")

</div>

Is it possible to chart without any history? Could a chart itself keep the history as it scrolls, say through 60 minutes, and plot the live values when polled?

---

<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:** [May 21, 2024, 4:52pm UTC](https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370/7 "2024-05-21T16:52:08Z")

</div>

See my Integration Toolkit's [recorder()](https://www.automation-pros.com/toolkit/doc/datasets.html#recorder) expression function. If you expect to use it in multiple places, consider putting this in an expression tag adjacent to the tag(s) of interest. If you will use it with various tags on a per-session basis, with the UI flipping away and coming back to the view, consider binding it to a session custom property.

---

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [May 22, 2024, 12:41am UTC](https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370/8 "2024-05-22T00:41:07Z")

</div>

I think I'm using the wrong chart anyway, for what I would like to do.  
I am going to try the Power Chart. Allowing for multiple "pens", zoom, easier ranging, etc.

There are a couple of other things I was not aware of using tags, and how they would "communicate" with the DB. I appreciate your input as always!

---

<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:** [May 22, 2024, 12:50am UTC](https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370/9 "2024-05-22T00:50:58Z")

</div>

> [@mdemaris](#):
>
> try the Power Chart

That **only** charts from history. You cannot supply raw data to it.

---

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [May 22, 2024, 12:52am UTC](https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370/10 "2024-05-22T00:52:16Z")

</div>

Yep, which means I will be creating a new DB just for testing the tag history stuff out.

And it is more like the Easy Chart in Vision, which we want to have that kind of functionality and features. But I wasn't aware of the Power Chart vs Time Series until today.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [May 22, 2024, 1:22am UTC](https://forum.inductiveautomation.com/t/setting-up-a-time-series-chart-help/56370/11 "2024-05-22T01:22:21Z")

</div>

See some of the issues with Power Chart here: [[FEATURE] Increase usability of the Perspective Power Chart component](https://forum.inductiveautomation.com/t/feature-increase-usability-of-the-perspective-power-chart-component/51474).
