XY Chart Tooltip

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

I presume you are referring to this thread:

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/


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.