# Multiple Chart, Single Cursor -- Chart GL

**URL:** <https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/12776>\
**Category:** Community Support\
**Tags:** add-ons\
**Created:** [January 24, 2023, 5:23pm UTC](https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/12776 "2023-01-24T17:23:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![planefan](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@planefan](https://forum.kx.com/u/planefan)\
**Post date:** [January 24, 2023, 5:23pm UTC](https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/12776/1 "2023-01-24T17:23:00Z")

</div>

Greetings,&nbsp;

I have 2 charts with identical datetime (y-axis).&nbsp;

Id like to be able to make it so that when I move my cursor over one of the charts, it shows the values for the corresponding timestamp on the other chart.

Similarly, I’d like to do the same thing but with zoom. So, both charts would be zoomed to the same point and show the same timestamps.

Any help greatly appreciated.&nbsp;

---

<div class="post-metadata">

**Author:** ![Laura2](https://avatars.discourse-cdn.com/v4/letter/l/76d3ee/32.png) [@Laura2](https://forum.kx.com/u/Laura2)\
**Post date:** [January 25, 2023, 12:16pm UTC](https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/12776/2 "2023-01-25T12:16:00Z")

</div>

Great question&nbsp;&nbsp;!

Let me talk to the team and see if this can be done.&nbsp;

Thanks for posting,

Laura

---

<div class="post-metadata">

**Author:** ![ahackett1](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@ahackett1](https://forum.kx.com/u/ahackett1)\
**Post date:** [January 25, 2023, 12:57pm UTC](https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/12776/3 "2023-01-25T12:57:00Z")

</div>

The zoom can be set by assigning the same viewstates to both charts on the Y-Axis \> Range \> Selection Min and Max properties. For hovering, this can be set in Basics \> Hover by assigning both charts the same viewstate, but it follows the x-axis rather than the y-axis

---

<div class="post-metadata">

**Author:** ![planefan](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@planefan](https://forum.kx.com/u/planefan)\
**Post date:** [January 25, 2023, 8:29pm UTC](https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/12776/4 "2023-01-25T20:29:00Z")

</div>

Basics \> Hover worked.&nbsp;

Y-Axis \> Range \> Selection Min and Max&nbsp; – hasnt worked so far. Do I need to click the min/max button too ?

---

<div class="post-metadata">

**Author:** ![ahackett1](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@ahackett1](https://forum.kx.com/u/ahackett1)\
**Post date:** [January 26, 2023, 10:10am UTC](https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/12776/5 "2023-01-26T10:10:00Z")

</div>

No this isn’t necessary, you just need the same Selection Min viewstate for both charts and same Selection Max viewstate. I’ve attached a demo here with both the x-axis and y-axis viewstates set&nbsp;
