简体   繁体   中英

Add borderColor for map Highcharter R


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 need: 在此处输入图像描述

What I have with this function:

 library(highcharter) hcmap("countries/nz/nz-all", borderColor = "darkred")

在此处输入图像描述

You could set the borderColor of the chart via hc_chart() :

library(highcharter)
hcmap("countries/nz/nz-all") %>% 
  hc_chart(borderColor = "darkred", borderWidth = 10)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM