# Sparkline with Tag Historian binding showing in designer but not in session

**URL:** <https://forum.inductiveautomation.com/t/sparkline-with-tag-historian-binding-showing-in-designer-but-not-in-session/55934>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [February 9, 2022, 6:45pm UTC](https://forum.inductiveautomation.com/t/sparkline-with-tag-historian-binding-showing-in-designer-but-not-in-session/55934 "2022-02-09T18:45:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thewebpleb](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/thewebpleb/32/27415_2.png) [@thewebpleb](https://forum.inductiveautomation.com/u/thewebpleb)\
**Post date:** [February 9, 2022, 6:45pm UTC](https://forum.inductiveautomation.com/t/sparkline-with-tag-historian-binding-showing-in-designer-but-not-in-session/55934/1 "2022-02-09T18:45:13Z")

</div>

Like the title says, I’m trying to get a sparkline in a Perspective view. The line is showing in the designer but not in a session (Chrome or Firefox). I tried closing the view, reopening it, closing the designer, and other things to try to make the spark disappear in the designer, but it remains. I also tried to refresh my session, clear cache, reboot the server, and I couldn’t get the spark to show up. What I do know is that if I disable the Tag History binding and keep the 50 points in the dataset, I’ll get a line in the designer AND in the session.

I have a Tag History binding type defined on the `points` dataset of the sparkline.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/9/194eb7e372affc09cb45cf59d630382c9bbad361.png)

As you can see, what is different (v8.1.14) is that I’m using an expression for the tag definition. Here is the key that’s displayed in the snip:

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

I set up this structure according to the docs [here](https://docs.inductiveautomation.com/display/DOC81/Tag+History+Bindings+in+Perspective#TagHistoryBindingsinPerspective-UsingDynamicTagPaths).

Any ideas why this is happening?

---

<div class="post-metadata">

**Author:** ![kvane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kvane/32/22228_2.png) [@kvane](https://forum.inductiveautomation.com/u/kvane)\
**Post date:** [February 10, 2022, 12:25am UTC](https://forum.inductiveautomation.com/t/sparkline-with-tag-historian-binding-showing-in-designer-but-not-in-session/55934/2 "2022-02-10T00:25:47Z")

</div>

The setup looks accurate. I just replicated it and it works as expected in a Session (albeit on version 8.1.13).

I would recommend checking the “Enabled” box on the Binding itself.

I would also recommend scrutinizing the “path” property since it has a binding. The binding on it perhaps isn’t returning what you expect in the Session. You can add a label component and bind the label text to that property - to ensure it is a valid tag path in the Session.

---

<div class="post-metadata">

**Author:** ![thewebpleb](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/thewebpleb/32/27415_2.png) [@thewebpleb](https://forum.inductiveautomation.com/u/thewebpleb)\
**Post date:** [February 14, 2022, 5:53pm UTC](https://forum.inductiveautomation.com/t/sparkline-with-tag-historian-binding-showing-in-designer-but-not-in-session/55934/3 "2022-02-14T17:53:53Z")

</div>

The problem was that I wasn’t specifying the tag provider (i.e. `[default]`) in the tag path. I should’ve caught this earlier. Thanks @kvane!
