# Adding two points to Xtrace on a chart

**URL:** <https://forum.inductiveautomation.com/t/adding-two-points-to-xtrace-on-a-chart/20836>\
**Category:** Ignition\
**Created:** [November 14, 2018, 4:39am UTC](https://forum.inductiveautomation.com/t/adding-two-points-to-xtrace-on-a-chart/20836 "2018-11-14T04:39:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![klehman](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@klehman](https://forum.inductiveautomation.com/u/klehman)\
**Post date:** [November 14, 2018, 4:39am UTC](https://forum.inductiveautomation.com/t/adding-two-points-to-xtrace-on-a-chart/20836/1 "2018-11-14T04:39:54Z")

</div>

I need to let the operator choose two points on a chart (like 8AM an 11AM) and it would show the xtrace line for each time stamp.

I tried this module below , but I couldnt make it do what i need. Any recommendations?

> [@New NoteChart module in the Marketplace](http://forum.inductiveautomation.com/t/new-notechart-module-in-the-marketplace/9962):
>
> Automation Professionals is pleased to announce the release of [NoteChart](http://marketplace.inductiveautomation.com/moduledetail?moduleId=86), its first public marketplace module. From the marketplace description: [quote]The NoteChart module extends Ignition’s built-in Classic Chart and Easy Chart components to mark the plot with a witness line and text at the location of specific time-stamped events.[/quote]Key Features: [ul][li]Translucent Text for annotations and X-Trace labels[/li] [li]Auto X-Trace on Mouse Events or scripted selection[/li] [li]Optional …

---

<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:** [November 14, 2018, 1:31pm UTC](https://forum.inductiveautomation.com/t/adding-two-points-to-xtrace-on-a-chart/20836/2 "2018-11-14T13:31:59Z")

</div>

Notechart can only show one X-Trace (with values) at a time, same as the built-in charts. Notechart does allow you to place (many) timestamped annotations wherever you wish, and the operator can click on them to accurately activate X-Trace at that point. The mouse events in Notechart have the extra event property `domainTS` that holds the timestamp you need to script the creation of an annotation. Annotations can be supplied in either of two datasets, `notes` and `altNotes`, for programmer convenience (bind one to a DB query, use the other for scripting, perhaps).

Putting two complete X-Traces with values would be rather difficult, with all of the spacing/scaling/non-overlap calculations involved.

---

<div class="post-metadata">

**Author:** ![klehman](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@klehman](https://forum.inductiveautomation.com/u/klehman)\
**Post date:** [November 14, 2018, 1:51pm UTC](https://forum.inductiveautomation.com/t/adding-two-points-to-xtrace-on-a-chart/20836/3 "2018-11-14T13:51:01Z")

</div>

Thanks! Ill see if I can get notechart to meet our needs. Thanks!

---

<div class="post-metadata">

**Author:** ![joeyjojoshabadu](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@joeyjojoshabadu](https://forum.inductiveautomation.com/u/joeyjojoshabadu)\
**Post date:** [November 14, 2018, 5:29pm UTC](https://forum.inductiveautomation.com/t/adding-two-points-to-xtrace-on-a-chart/20836/4 "2018-11-14T17:29:31Z")

</div>

Two x-traces is pretty common though, Factory Talk, Wonderware Intouch, Citect Process Analyst, Pi, all let you have two cursors or x-traces and then can show you the value of the time series at each one or the change from one to the next.

---

<div class="post-metadata">

**Author:** ![Brian](https://avatars.discourse-cdn.com/v4/letter/b/97f17d/32.png) [@Brian](https://forum.inductiveautomation.com/u/Brian)\
**Post date:** [November 14, 2018, 6:15pm UTC](https://forum.inductiveautomation.com/t/adding-two-points-to-xtrace-on-a-chart/20836/5 "2018-11-14T18:15:03Z")

</div>

I’ve mentioned this sort of thing before as well, but as a request for the stock easy chart component. I posted it to the ideas section for people to vote on.

[https://inductiveautomation.canny.io/ignition-features-and-ideas/p/second-vertical-line-for-x-trace](https://inductiveautomation.canny.io/ignition-features-and-ideas/p/second-vertical-line-for-x-trace)

Upvote to help the devs see this as something worth working on 🙂

---

<div class="post-metadata">

**Author:** ![klehman](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@klehman](https://forum.inductiveautomation.com/u/klehman)\
**Post date:** [November 14, 2018, 8:20pm UTC](https://forum.inductiveautomation.com/t/adding-two-points-to-xtrace-on-a-chart/20836/6 "2018-11-14T20:20:29Z")

</div>

I voted! Thanks. We were able to come up with a workaround, but its not perfect. We are doing a migration from WW, and the old system had the functionality.
