score:1

Accepted answer

I think you would be able to do this using the tooltip.formatter from the highcharts js API: https://api.highcharts.com/highcharts/tooltip.formatter

You can see a handy article on how to do it here: https://www.highcharts.com/blog/tutorials/working-with-highcharts-javascript-syntax-in-r/?fbclid=IwAR3UzztbrY4rdCbOw1W7DmSq4mWJswJZxIw-xOqGbjIRExj-gsuVEO2zM00

library('highcharter')
highchart() %>%
  hc_add_series(
    type = "bubble",
    data = list(5, 4, 3, 5)
  ) %>%
  hc_chart(events = list(load = JS("function() {
      var chart = this; chart.update({
         tooltip: {
              formatter: function () {
                  return 'The value for <b>' + this.x +
                      '</b> is <b>' + this.y + '</b>';
              }
          }
      });
    }
    ")
  ))

Related Query

More Query from same tag