# XY Chart Tooltip

**URL:** <https://forum.inductiveautomation.com/t/xy-chart-tooltip/78947>\
**Category:** Ignition Early Access\
**Tags:** perspective, ignition81\
**Created:** [September 10, 2023, 10:49am UTC](https://forum.inductiveautomation.com/t/xy-chart-tooltip/78947 "2023-09-10T10:49:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samer\_samy](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/samer_samy/32/52910_2.png) [@samer\_samy](https://forum.inductiveautomation.com/u/samer_samy)\
**Post date:** [September 10, 2023, 10:49am UTC](https://forum.inductiveautomation.com/t/xy-chart-tooltip/78947/1 "2023-09-10T10:49:51Z")

</div>

Dears,  
as you see below the label is shown on the line as a circle bullet and everything is fine ,all the credit goes to the friends in our community to help me show the label .

But I have a new challenge that I can not show the label as **Total 2023 month 8: xxxx cases.**  
I put label as **{name}: [bold]{valueY} {valueX}[/] cases**  
but it cannot show month value and show as you see **Total 2023 : xxxx cases.**

How to solve this ?

![t1](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/2/82cd2be6387cfe76cfa99d3d48c734a97fcfad0e.png)

---

<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:** [September 10, 2023, 1:09pm UTC](https://forum.inductiveautomation.com/t/xy-chart-tooltip/78947/2 "2023-09-10T13:09:32Z")

</div>

I presume you are referring to this thread:

> [@Perspective XY Chart xAxes tooltip text {dateX}](https://forum.inductiveautomation.com/t/perspective-xy-chart-xaxes-tooltip-text-datex/53580):
>
> Can anyone see why the date is not appearing in the Tooltip? Reference: [X-Value in XY Chart Bullet Tooltip - #5 by PGriffith](https://forum.inductiveautomation.com/t/x-value-in-xy-chart-bullet-tooltip/29998/5)

I'm guessing that you have the x-axis configured as "category" rather than date or a value. That means you need to use,  
`{name}: [bold]{valueY} {categoryX}[/] cases`

The chart component is based on AM Charts and you can find details on options here:  
[https://www.amcharts.com/docs/v4/concepts/formatters/formatting-strings/](https://www.amcharts.com/docs/v4/concepts/formatters/formatting-strings/)

* * *

Tip: use `a pair of backticks` to format your code on the forum. It will then appear like this: `a pair of backticks`. For blocks of code put three ``` at the start of the block and another three at the end - or select the code and press the \</\> button.
