# EasyChart Tag Pens Question

**URL:** <https://forum.inductiveautomation.com/t/easychart-tag-pens-question/34775>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [May 15, 2020, 11:53am UTC](https://forum.inductiveautomation.com/t/easychart-tag-pens-question/34775 "2020-05-15T11:53:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![c.bertulli](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@c.bertulli](https://forum.inductiveautomation.com/u/c.bertulli)\
**Post date:** [May 15, 2020, 11:53am UTC](https://forum.inductiveautomation.com/t/easychart-tag-pens-question/34775/1 "2020-05-15T11:53:23Z")

</div>

Hi all,

I can’t understand how the TagPen inside the EasyChart component works on the client-side.  
I’ve set up an EasyChart like this:

 ![EasyChart](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/00d2ad4c54923409b13e2af3e0d646654fcfdc7f.png)

So, when the client starts, the chart is exactly like the one in the picture ( TC1 , TP1, TP6, TT1 are enabled )  
If I enable/disable a pen ( or pens ), change the window, and then go back on this page, I see that the chart configuration changes back to the one in the picture.  
Same story for the _ **Last: X minutes** _. If I change the number to 15, another window, go back to this one, the number changes back to 10.

How can I make the changes the user makes permanent ( until the client is not closed and open again )?

Ignition 7.9.13

Cheers and thanks in advance,

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 15, 2020, 12:05pm UTC](https://forum.inductiveautomation.com/t/easychart-tag-pens-question/34775/2 "2020-05-15T12:05:19Z")

</div>

What is the cache policy of your window?

---

<div class="post-metadata">

**Author:** ![c.bertulli](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@c.bertulli](https://forum.inductiveautomation.com/u/c.bertulli)\
**Post date:** [May 15, 2020, 12:07pm UTC](https://forum.inductiveautomation.com/t/easychart-tag-pens-question/34775/3 "2020-05-15T12:07:05Z")

</div>

It’s on **Auto**.  
I think I can start to see the problem here…

---

<div class="post-metadata">

**Author:** ![c.bertulli](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@c.bertulli](https://forum.inductiveautomation.com/u/c.bertulli)\
**Post date:** [May 15, 2020, 12:14pm UTC](https://forum.inductiveautomation.com/t/easychart-tag-pens-question/34775/4 "2020-05-15T12:14:08Z")

</div>

Whatever option I set ( Auto , Always , Never ) on the **Cache Policy** the behavior is always the same.

Just in case, those are my chart properties:  
 ![EasyChartProperties](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f3e6f6f3c6ba5eff22fbb3df4c9e16e8a19e14bc.png)

---

<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 15, 2020, 12:29pm UTC](https://forum.inductiveautomation.com/t/easychart-tag-pens-question/34775/5 "2020-05-15T12:29:18Z")

</div>

Create a dataset client tag and bind that tagPens property to the client tag (bidirectionally). In the designer, clear all rows from that tag before saving the project, or with whatever pens you want on startup.

---

<div class="post-metadata">

**Author:** ![c.bertulli](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@c.bertulli](https://forum.inductiveautomation.com/u/c.bertulli)\
**Post date:** [May 15, 2020, 12:42pm UTC](https://forum.inductiveautomation.com/t/easychart-tag-pens-question/34775/6 "2020-05-15T12:42:02Z")

</div>

Thanks for the suggestion. The method you described is a method I’m already using in other projects.  
The question here is that I’d like to know why this component ( EasyChart ) has this behavior?

---

<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 15, 2020, 12:57pm UTC](https://forum.inductiveautomation.com/t/easychart-tag-pens-question/34775/7 "2020-05-15T12:57:24Z")

</div>

It’s not unique to the easy chart. All component properties are serialized when saved in the designer, save only for query bindings that are not set to retain rows. The serialized content is restored when opening the window.

You can test this by adding a custom dataset property to any component, populating it and saving it. The content will be there every time that window opens.
