powered by
Helper to make table in tooltips for the pointFormat parameter in hc_tooltip
pointFormat
hc_tooltip
tooltip_table(x, y, title = NULL, img = NULL, ...)
A string vector with description text
A string with accessors example: point.series.name, point.x
point.series.name
point.x
A title tag with accessors or string
Image tag
html attributes for the table element
# NOT RUN { x <- c("Income:", "Genre", "Runtime") y <- c( "$ {point.y}", "{point.series.options.extra.genre}", "{point.series.options.extra.runtime}" ) tooltip_table(x, y) # }
Run the code above in your browser using DataLab