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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
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.