Menu

How to retrieve "point.key" in toop tip formatter

Vince
2013-01-21
2013-02-20
  • Vince

    Vince - 2013-01-21

    Hello all,

    I'm using a stock chart that performs dataGrouping. The default tooltip formatter will will replace "point.key" with the formatted data group. Is there a way to retrieve this already formatted value from the ToolTipData if I implement my own ToolTipFormatter?

    Thanks!

     
  • Shawn Quinn

    Shawn Quinn - 2013-02-20

    I don't believe Highcharts exposes this, but I'm not sure myself. You may have better luck posting this over on the main Highcharts forums. If Highcharts doesn provide a way to retrieve details of what the default tooltip formatter would have done when a custom tooltip formatter has been setup on the chart, then you should be able to get to that via GWT Highcharts as well.

    Note that, if you decide to go your own route, GWT Highcharts does expose the "TooltipData.getSeriesName(int index)" and "TooltipData.getSeriesId(int index)" methods so that you can access the details of the series associated with the tooltip in your own formatter for shared tooltips.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.