# Easy Chart select/unselect all pens

**URL:** <https://forum.inductiveautomation.com/t/easy-chart-select-unselect-all-pens/15652>\
**Category:** Ignition\
**Created:** [October 12, 2017, 1:37pm UTC](https://forum.inductiveautomation.com/t/easy-chart-select-unselect-all-pens/15652 "2017-10-12T13:37:29Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Richard\_Tryon](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@Richard\_Tryon](https://forum.inductiveautomation.com/u/Richard_Tryon)\
**Post date:** [September 13, 2022, 12:41pm UTC](https://forum.inductiveautomation.com/t/easy-chart-select-unselect-all-pens/15652/9 "2022-09-13T12:41:03Z")

</div>

This was perfect as I have charts preloaded with many tags on them using the solution by @pturmel[Setting Default Pens in Easy Chart when Opening a window - #2 by pturmel](https://forum.inductiveautomation.com/t/setting-default-pens-in-easy-chart-when-opening-a-window/16603/2)

Since I have so many pens on the charts, I needed a way for the user to quickly unselect them all.  
The only change I made for the script to work for me since I’m preloading the chart with Tag History pens is that I used .tagPens instead of .pens.

Thank you!

---

_[View the full topic](https://forum.inductiveautomation.com/t/easy-chart-select-unselect-all-pens/15652)._
