timelyportfolio / rcdimple

htmlwidgets for rCharts + dimple
http://www.buildingwidgets.com/blog/2015/3/18/week-11-dimple-as-htmlwidget
MIT License
28 stars 9 forks source link

Customize Tooltip in barplot #34

Open olileo1 opened 7 years ago

olileo1 commented 7 years ago

Is there a possibility to customize the tooltip? In the following example I would liek the tooltip-text to be: (I : 12%) for value = I, freq = 12. And is there a way to set the height and the width of the tooltip box?

data <- data.table(value = letters[1:12], freq = c(1:12)) rcdimple::dimple(data, freq ~ value, type = 'bar') %>% rcdimple::xAxis(showGridlines = FALSE, hidden = TRUE) %>% rcdimple::yAxis(showGridlines = FALSE, hidden = TRUE)