Helper for make table in tooltips
Helper to make table in tooltips for the pointFormat
parameter in hc_tooltip
tooltip_table(x, y, title = NULL, img = NULL, ...)
x
: A string vector with description texty
: A string with accessors example: point.series.name
, point.x
title
: A title tag with accessors or stringimg
: Image tag...
: html attributes for the table elementx <- c("Income:", "Genre", "Runtime") y <- c( "$ {point.y}", "{point.series.options.extra.genre}", "{point.series.options.extra.runtime}" ) tooltip_table(x, y)
Useful links