I'm trying to change the style of hover-label in googleVis columnChart. I'd like to format large numbers as it is done on axis. Do you know how to manage it (I've read whole Internet and still don't know how to fix it :D)?
The illustration of my problem (red is the format I have and green that I'd like to have):
And shiny-app example:
ui.R:
library("shiny")
library("googleVis")
shinyUI(fluidPage(
htmlOutput("wyk")
))
and server.R:
library("shiny")
library("googleVis")
library("dplyr")
shinyServer(function(input, output) {
d <- iris %>% group_by(Species) %>% summarise(ile=1e6*sum(Sepal.Length))
output$wyk <- renderGvis({
gvisBarChart(d, xvar = "Species", yvar = "ile",
options=list(legend="top", bar="{groupWidth:'90%'}", height=500))
})
})