# EasyChart object attributes

**URL:** <https://forum.inductiveautomation.com/t/easychart-object-attributes/10216>\
**Category:** Ignition\
**Created:** [July 13, 2015, 4:28pm UTC](https://forum.inductiveautomation.com/t/easychart-object-attributes/10216 "2015-07-13T16:28:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/chris_taylor/32/3315_2.png) [@Chris\_Taylor](https://forum.inductiveautomation.com/u/Chris_Taylor)\
**Post date:** [July 13, 2015, 4:28pm UTC](https://forum.inductiveautomation.com/t/easychart-object-attributes/10216/1 "2015-07-13T16:28:54Z")

</div>

I know that the easy chart has all sorts of data available for scripting  
e.g. I can get a list of tagpaths using

`easyChart = event.source.parent.getComponent("Easy Chart")
system.dataset.toPyDataSet(easyChart.tagPens)
`

What I’d like is to get the current trend colour for each pen, I found “getAutoColorList” & “autoColorPens” but I’m not sure how they would function, or if they would still be true if a user manually changed a pen colour. Any pointers

Thank you.

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [July 13, 2015, 5:19pm UTC](https://forum.inductiveautomation.com/t/easychart-object-attributes/10216/2 "2015-07-13T17:19:04Z")

</div>

Hi Chris,

You have the current trend color for each pen in the easyChart.tagPens dataset. The column is “Color”.

Best,

---

<div class="post-metadata">

**Author:** ![Chris\_Taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/chris_taylor/32/3315_2.png) [@Chris\_Taylor](https://forum.inductiveautomation.com/u/Chris_Taylor)\
**Post date:** [July 13, 2015, 5:55pm UTC](https://forum.inductiveautomation.com/t/easychart-object-attributes/10216/3 "2015-07-13T17:55:41Z")

</div>

Nick

Ha, I forgot the golden rule, keep it simple.

Thanks
