# Multiple Chart, Single Cursor -- Chart GL

**URL:** <https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/13649>\
**Category:** Community Support\
**Tags:** dashboards\
**Created:** [January 24, 2023, 12:00am UTC](https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/13649 "2023-01-24T00:00:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lkerr2](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/lkerr2/32/57_2.png) [@lkerr2](https://forum.kx.com/u/lkerr2)\
**Post date:** [January 24, 2023, 12:00am UTC](https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/13649/1 "2023-01-24T00:00:00Z")

</div>

[https://learninghub.kx.com/forums/topic/multiple-chart-single-cursor-chart-gl](https://learninghub.kx.com/forums/topic/multiple-chart-single-cursor-chart-gl)

Greetings,

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

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.

---

<div class="post-metadata">

**Author:** ![ahackett](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@ahackett](https://forum.kx.com/u/ahackett)\
**Post date:** [January 26, 2023, 12:00am UTC](https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/13649/2 "2023-01-26T00:00: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

---

<div class="post-metadata">

**Author:** ![ahackett](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@ahackett](https://forum.kx.com/u/ahackett)\
**Post date:** [January 25, 2023, 12:00am UTC](https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/13649/3 "2023-01-25T00:00: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:** ![lkerr2](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/lkerr2/32/57_2.png) [@lkerr2](https://forum.kx.com/u/lkerr2)\
**Post date:** [January 25, 2023, 12:00am UTC](https://forum.kx.com/t/multiple-chart-single-cursor-chart-gl/13649/4 "2023-01-25T00:00:00Z")

</div>

Basics \> Hover worked.

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