# Mouse Hover over XY chart to obtain the X axis value

**URL:** <https://forum.inductiveautomation.com/t/mouse-hover-over-xy-chart-to-obtain-the-x-axis-value/77110>\
**Category:** Ignition\
**Created:** [July 30, 2023, 1:15pm UTC](https://forum.inductiveautomation.com/t/mouse-hover-over-xy-chart-to-obtain-the-x-axis-value/77110 "2023-07-30T13:15:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 30, 2023, 1:39pm UTC](https://forum.inductiveautomation.com/t/mouse-hover-over-xy-chart-to-obtain-the-x-axis-value/77110/2 "2023-07-30T13:39:13Z")

</div>

Have a look at what I wrote in the link below. In my case the X-axis value was a date. It looks like you are using a category so you may need to experiment.

> [@Perspective XY Chart xAxes tooltip text {dateX}](https://forum.inductiveautomation.com/t/perspective-xy-chart-xaxes-tooltip-text-datex/53580/10):
>
> An example tooltip with date, time and day of week. [XY Chart tooltip with time] Machine: [bold]{name}[/] Count: [bold]{valueY}[/] Date: [bold]{dateX.formatDate('yyyy-MMM-dd')}[/] Time: [bold]{dateX.formatDate('HH:mm EEE')}[/]

See the link to the AM Charts documentation for further ideas.

---

_[View the full topic](https://forum.inductiveautomation.com/t/mouse-hover-over-xy-chart-to-obtain-the-x-axis-value/77110)._
