# Add a column to Easy Chart tagPens dataset

**URL:** <https://forum.inductiveautomation.com/t/add-a-column-to-easy-chart-tagpens-dataset/33304>\
**Category:** Ignition\
**Created:** [March 23, 2020, 2:43am UTC](https://forum.inductiveautomation.com/t/add-a-column-to-easy-chart-tagpens-dataset/33304 "2020-03-23T02:43:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lachguerabdallah](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lachguerabdallah/32/25558_2.png) [@lachguerabdallah](https://forum.inductiveautomation.com/u/lachguerabdallah)\
**Post date:** [March 23, 2020, 2:43am UTC](https://forum.inductiveautomation.com/t/add-a-column-to-easy-chart-tagpens-dataset/33304/1 "2020-03-23T02:43:01Z")

</div>

hello

I have added a column to the Easy Chart tagPens to show some information, but it doesn’t work anymore when I drag a tag.  
the error is as follows:  
raceback (most recent call last):  
_File “event:mouseClicked”, line 9, in_

- File “”, line 106, in addPen\*  
_IndexError: Number of values (23) in row 1 doesn’t match number of columns (24) in dataset._

 ![35](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/7e7b7a2582e934b6ef8a6c5b99c9674f356cb33e.png)

any help please.

---

<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:** [March 23, 2020, 11:21am UTC](https://forum.inductiveautomation.com/t/add-a-column-to-easy-chart-tagpens-dataset/33304/2 "2020-03-23T11:21:08Z")

</div>

Your customized addPen function has to be changed to supply that column, too.
