# Easy Chart, changing tag path but will not save

**URL:** <https://forum.inductiveautomation.com/t/easy-chart-changing-tag-path-but-will-not-save/113182>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [January 9, 2026, 5:35pm UTC](https://forum.inductiveautomation.com/t/easy-chart-changing-tag-path-but-will-not-save/113182 "2026-01-09T17:35:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrick.gigaroa](https://avatars.discourse-cdn.com/v4/letter/p/d2c977/32.png) [@patrick.gigaroa](https://forum.inductiveautomation.com/u/patrick.gigaroa)\
**Post date:** [January 9, 2026, 5:35pm UTC](https://forum.inductiveautomation.com/t/easy-chart-changing-tag-path-but-will-not-save/113182/1 "2026-01-09T17:35:31Z")

</div>

Sorry, It’s been a couple of years since I used Ignition. I’m changing the tag path for a current pen. But if I try to close and commit and save changes, when I reopen it the tag path goes back to the original.

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [January 9, 2026, 6:06pm UTC](https://forum.inductiveautomation.com/t/easy-chart-changing-tag-path-but-will-not-save/113182/2 "2026-01-09T18:06:38Z")

</div>

Are you using a template for the trend? If it is the Adhoc Trending tool, it is most likely a template and you would need to change it in the template for it to load that particular tag on open.

---

<div class="post-metadata">

**Author:** ![patrick.gigaroa](https://avatars.discourse-cdn.com/v4/letter/p/d2c977/32.png) [@patrick.gigaroa](https://forum.inductiveautomation.com/u/patrick.gigaroa)\
**Post date:** [January 9, 2026, 7:06pm UTC](https://forum.inductiveautomation.com/t/easy-chart-changing-tag-path-but-will-not-save/113182/3 "2026-01-09T19:06:17Z")

</div>

Thanks, not a template, but it looks like they are passing in the the tags into the chart. Just have to figure out where they’re coming from. This script is on the container.

`'''if event.propertyName == 'title':`  
`title = event.source.title`  
`dataset = event.source.dataset`  
`pyDataset = system.dataset.toPyDataSet(dataset)`  
`chartData = `  
`for num in range(pyDataset.getRowCount()):`  
`if pyDataset[num][1] == title:`  
`chartData.append([pyDataset[num][3],pyDataset[num][4],'MinMax',pyDataset[num][5],pyDataset[num][6],1,'color(255,85,85,255)','',1,1,0,1,1,pyDataset[num][2],0,0,0,1,'',0])`  
`chartHeaders = ["NAME","TAG_PATH","AGGREGATION_MODE","AXIS","SUBPLOT","ENABLED","COLOR","DASH_PATTERN","RENDER_STYLE","LINE_WEIGHT","SHAPE","FILL_SHAPE","LABELS","GROUP_NAME","DIGITAL","OVERRIDE_AUTOCOLOR","HIDDEN","USER_SELECTABLE","SORT_ORDER","USER_REMOVABLE"]`  
`event.source.getComponent('Easy Chart').tagPens = system.dataset.toDataSet(chartHeaders,chartData)'''`

---

<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:** [January 9, 2026, 7:13pm UTC](https://forum.inductiveautomation.com/t/easy-chart-changing-tag-path-but-will-not-save/113182/4 "2026-01-09T19:13:53Z")

</div>

They are coming from a `dataset` property on the coponent where you copied this event script:

```python
dataset = event.source.dataset

```

---

<div class="post-metadata">

**Author:** ![patrick.gigaroa](https://avatars.discourse-cdn.com/v4/letter/p/d2c977/32.png) [@patrick.gigaroa](https://forum.inductiveautomation.com/u/patrick.gigaroa)\
**Post date:** [January 9, 2026, 9:48pm UTC](https://forum.inductiveautomation.com/t/easy-chart-changing-tag-path-but-will-not-save/113182/5 "2026-01-09T21:48:47Z")

</div>

Thanks,

I found that they were pulling all the pen information from a DB. Then just using one screen for all the trends.
