Tooltip property for a Billboard.js chart
Tooltip property for a Billboard.js chart
bb_tooltip(bb, ...)
bb |
A |
... |
See https://naver.github.io/billboard.js/release/latest/doc/Options.html#.tooltip |
A billboard
htmlwidget
object.
# Format tooltip billboarder() %>% bb_scatterplot(data = iris, x = "Sepal.Length", y = "Sepal.Width", group = "Species") %>% bb_tooltip( format = list( # skip the title in tooltip title = htmlwidgets::JS("function() {return undefined;}"), name = htmlwidgets::JS("function(name, ratio, id, index) {return '';}"), value = htmlwidgets::JS("function(value, ratio, id, index) {return id;}") ) )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.