How to add a border for map plot in Highcharter in R?
In https://jkunst.com/highcharter/articles/highcharts-api.html showed `borderColor = '#EBBA95'`, but it change border inside map
What I have with this function:
library(highcharter)
hcmap("countries/nz/nz-all",
borderColor = "darkred")
CodePudding user response:
You could set the borderColor
of the chart via hc_chart()
:
library(highcharter)
hcmap("countries/nz/nz-all") %>%
hc_chart(borderColor = "darkred", borderWidth = 10)