Skip to contents

Options for the tooltip that appears when the user hovers over a series or point.

Usage

hc_tooltip(hc, ..., sort = FALSE, table = FALSE)

Arguments

hc

A highchart htmlwidget object.

...

Options defined in https://api.highcharts.com/highcharts/tooltip.

sort

Sort shared tooltip points by descending value.

table

Display the shared tooltip as an HTML table.

Examples

# Hover over July to see the four cities in descending order.
highcharts_demo() |>
  hc_tooltip(table = TRUE, sort = TRUE)