1

I want to add extra information in hover/tooltip in below shared highcharts links.

Please check and help.

https://www.highcharts.com/demo/line-basic https://www.highcharts.com/demo/pie-drilldown

  • 4
    Not sure what you have tried so far (as you have showed no code) but take a look at the API docs for data format (https://api.highcharts.com/highcharts/series.line.data) and tooltip formatter function (https://api.highcharts.com/highcharts/tooltip.formatter). – wergeld Feb 06 '18 at 16:52
  • Possible duplicate of [how to pass values to tooltip which not in x and y axis in highcharts](https://stackoverflow.com/questions/48535238/how-to-pass-values-to-tooltip-which-not-in-x-and-y-axis-in-highcharts) – Deep 3015 Feb 07 '18 at 05:54

1 Answers1

0

Did similar thing by using tooltip point formatter. Added the data as a different property "tooltipData" in series object, and later used it in the formatter and modified tooltip accordingly.

Link: https://api.highcharts.com/highcharts/tooltip.formatter

Tarun Chopra
  • 386
  • 4
  • 11