# Duplicate Easy Chart Pen

**URL:** <https://forum.inductiveautomation.com/t/duplicate-easy-chart-pen/96183>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [September 19, 2024, 1:34pm UTC](https://forum.inductiveautomation.com/t/duplicate-easy-chart-pen/96183 "2024-09-19T13:34:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [September 19, 2024, 1:34pm UTC](https://forum.inductiveautomation.com/t/duplicate-easy-chart-pen/96183/1 "2024-09-19T13:34:01Z")

</div>

Is there an easy way to duplicate a row (pen) in the easy chart component? Many of my rows are the same minus one number and the color.

For instance, I have the pens

```python
Pump 1/Speed | [tagHistory:ignition-desktop-av9al01:default]pumps/pump1/speed
Pump 2/Speed | [tagHistory:ignition-desktop-av9al01:default]pumps/pump2/speed
Pump 3/Speed | [tagHistory:ignition-desktop-av9al01:default]pumps/pump3/speed
Pump 4/Speed | [tagHistory:ignition-desktop-av9al01:default]pumps/pump4/speed
Pump 5/Speed | [tagHistory:ignition-desktop-av9al01:default]pumps/pump5/speed
Pump 6/Speed | [tagHistory:ignition-desktop-av9al01:default]pumps/pump6/speed

```

---

<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:** [September 19, 2024, 1:44pm UTC](https://forum.inductiveautomation.com/t/duplicate-easy-chart-pen/96183/2 "2024-09-19T13:44:46Z")

</div>

Open the pens or tagPens datasets, and copy to the clipboard. Fix up in your favorite text editor. Paste the corrections back.

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [September 19, 2024, 1:45pm UTC](https://forum.inductiveautomation.com/t/duplicate-easy-chart-pen/96183/3 "2024-09-19T13:45:45Z")

</div>

Not very fun to look at in a text editor, but I guess that would work. I didn't know copying the dataset would give me a csv, so that's good to know.

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [September 19, 2024, 2:01pm UTC](https://forum.inductiveautomation.com/t/duplicate-easy-chart-pen/96183/4 "2024-09-19T14:01:19Z")

</div>

In the headers of the dataset copied to the clipboard, there is one line that designates the number of rows. Make sure if you're adding/deleting rows that you update that number too. I've gotten caught a couple of times forgetting to update it.

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [September 19, 2024, 2:23pm UTC](https://forum.inductiveautomation.com/t/duplicate-easy-chart-pen/96183/5 "2024-09-19T14:23:24Z")

</div>

> **[Easy Chart - Duplicate Row Button | Ignition Features and Ideas | Inductive...](https://inductiveautomation.canny.io/ignition-features-and-ideas/p/easy-chart-duplicate-row-button)**
>
> Add a button to the easy chart customizer to duplicate a row (pen). Often times everything is the same between multiple pens, minus one number in the name/tag
