Description Usage Arguments Examples
View source: R/highcharts-api-helpers.R
Helper to make table in tooltips for the pointFormat
parameter in hc_tooltip
1 | tooltip_table(x, y, title = NULL, img = NULL, ...)
|
x |
A string vector with description text |
y |
A string with accessors example: |
title |
A title tag with accessors or string |
img |
Image tag |
... |
html attributes for the table element |
1 2 3 4 5 6 7 | x <- c("Income:", "Genre", "Runtime")
y <- c(
"$ {point.y}", "{point.series.options.extra.genre}",
"{point.series.options.extra.runtime}"
)
tooltip_table(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.