highcharter options in Golem #732
Unanswered
wendelmarques99
asked this question in
Q&A
Replies: 1 comment
-
Solved! I put all code in my server. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys!
In my shiny app i have {highcharter}, a package to use JS graphs in R.
By default weekdays, months are in english.
As a brazilian person, i would like to change this.
So, These are my options:
lang <- getOption("highcharter.lang")
lang$decimalPoint <- ","
lang$thousandsSep <- "."
lang$weekdays <- c("Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado")
lang$months <- c("Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro")
lang$shortMonths <- c("Jan", "Fev", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Set", "Out", "Nov", "Dez")
options(highcharter.lang = lang)
How can i put these options in golem.
Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions