# How to format xAxes tooltip on a perspective XYChart

**URL:** <https://forum.inductiveautomation.com/t/how-to-format-xaxes-tooltip-on-a-perspective-xychart/25736>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 11, 2019, 5:42pm UTC](https://forum.inductiveautomation.com/t/how-to-format-xaxes-tooltip-on-a-perspective-xychart/25736 "2019-06-11T17:42:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenlu.han](https://avatars.discourse-cdn.com/v4/letter/c/47e85d/32.png) [@chenlu.han](https://forum.inductiveautomation.com/u/chenlu.han)\
**Post date:** [June 11, 2019, 5:42pm UTC](https://forum.inductiveautomation.com/t/how-to-format-xaxes-tooltip-on-a-perspective-xychart/25736/1 "2019-06-11T17:42:47Z")

</div>

Hi All,

I am trying to display historical data using a XYchart component in Perspective. I hope to use the xAxes tooltip to display time stamp, as below:  
 ![tooltips](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/6aea9d8566129d2b8bc47069cc3d8b090f1591c2.png)

Is there a way to format tooltip text independent of xAxes text? My axes are formatted as “M/d” because I don’t have enough space to put time there. But I do hope to show date and time on the tooltip. I am using the following string for tooltip format, but did not seem to change anything.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/77eea5f1ed18dca698bfe0e01964a9174e126212.png)

Can somebody point what I was missing? Thanks!
