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