highcharter xaxis crosshair tooltip labeling all series datapoints

Viewed 86

I am trying to label all series datapoint on the crosshair tooltip when hovering over a timeseries. Here is what I currently have:

library(highcharter)

highchart() %>%
  hc_chart(
    type = "container", zoomType = "x") %>%
  hc_xAxis(type = "datetime") %>%
  hc_xAxis(
    tickLength = 0, 
    crosshair = TRUE
  ) %>%
  hc_yAxis(
    tickLength = 0, 
    crosshair = TRUE
  ) %>%
  hc_add_series(
    type = "line",
    data = airmiles
  ) %>%
  hc_add_series(
    type = "line",
    data = airmiles/2
  )

enter image description here

This is what I would like to have (or something similar):

enter image description here

Thank you!

1 Answers
Related