# Extract mark text from easy chart

**URL:** <https://forum.inductiveautomation.com/t/extract-mark-text-from-easy-chart/10678>\
**Category:** Ignition\
**Created:** [October 27, 2015, 12:09pm UTC](https://forum.inductiveautomation.com/t/extract-mark-text-from-easy-chart/10678 "2015-10-27T12:09:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [October 27, 2015, 12:09pm UTC](https://forum.inductiveautomation.com/t/extract-mark-text-from-easy-chart/10678/1 "2015-10-27T12:09:53Z")

</div>

Something is in the back of my mind that this has been asked before, but I just can’t find it.

Any way to extract this text?

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

---

<div class="post-metadata">

**Author:** ![Duffanator](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/duffanator/32/3560_2.png) [@Duffanator](https://forum.inductiveautomation.com/u/Duffanator)\
**Post date:** [October 27, 2015, 1:26pm UTC](https://forum.inductiveautomation.com/t/extract-mark-text-from-easy-chart/10678/2 "2015-10-27T13:26:02Z")

</div>

Can you use the getXTraceLabel extension function?

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

---

<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:** [October 27, 2015, 1:36pm UTC](https://forum.inductiveautomation.com/t/extract-mark-text-from-easy-chart/10678/3 "2015-10-27T13:36:44Z")

</div>

The read-only “selectedXValue” property contains the date/time string in both X-Trace and Marker modes. That might be a start. My NoteChart and EasyNoteChart components also offer that data as a true Date object in their ‘traceTS’ properties. And writeable.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [October 27, 2015, 2:11pm UTC](https://forum.inductiveautomation.com/t/extract-mark-text-from-easy-chart/10678/4 "2015-10-27T14:11:25Z")

</div>

selectedXValue is the piece I’m looking for. It was only under my nose, where I couldn’t see it!

Thanks guys!

---

<div class="post-metadata">

**Author:** ![Duffanator](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/duffanator/32/3560_2.png) [@Duffanator](https://forum.inductiveautomation.com/u/Duffanator)\
**Post date:** [October 27, 2015, 2:18pm UTC](https://forum.inductiveautomation.com/t/extract-mark-text-from-easy-chart/10678/5 "2015-10-27T14:18:24Z")

</div>

Oh interesting… I didn’t know it changed in the different modes. Learn something new every day!
