eraka
Posts: 123
Joined: Thu Apr 28, 2022 6:55 am

Update the text on tooltip

Wed Aug 10, 2022 1:23 pm

Hi
I want to customize the tooltip on point , i am using datetime chart but i want show some fields like name, age and gender which comes from api call in an array on tooltip

kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: Update the text on tooltip

Wed Aug 10, 2022 2:13 pm

Hello,

You can customize your tooltip with tooltip.formatter callback function. Please study the whole tooltip section in our API, you will find many useful formatting properties there.

API Reference: https://api.highcharts.com/highcharts/tooltip.formatter
In the link provided above you will also find some live examples in JSFiddle.

Regards
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Gantt”