We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i want to plot a heatmap with REmapH. i set the regionColor was white as below.
`#install.packages("devtools") #devtools::install_github("Lchiffon/REmap") library(devtools) library(REmap)
options(remap.js.web=T)
#读取数据(通过inport dataset(excel)导入)
head(mydata_heatmap)
#str(mydata_heatmap)
#attributes(mydata_heatmap)
df = as.data.frame(mydata_heatmap)
map_out<-remapH(data=df, #效果如下图 maptype = '四川', theme = get_theme(theme = "", lineColor = "", backgroundColor = "white", #整体背景颜色 titleColor = "black", #标题颜色 borderColor = "grey", #区域边缘颜色 #regionColor ='white',#区域颜色 labelShow = F, #区域名称是否显示 pointShow = T, pointColor = '', regionColor="White"), blurSize = 70,#设置点的模糊程度,越大越模糊 color = c('blue', 'cyan', 'lime', 'yellow', 'red'), minAlpha = 1,#如果统一值小于minAlpha,则rempaH将设置为minAlpha,以确保小数据值也可以在图表上可见 opacity = 1,#地图的不透明度,默认为1 title='Sichuan' ) plot(map_out)`
but i got a heatmap with black regioncolor (the heatmap was linked below), how to deal with it?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i want to plot a heatmap with REmapH. i set the regionColor was white as below.
`#install.packages("devtools")
#devtools::install_github("Lchiffon/REmap")
library(devtools)
library(REmap)
options(remap.js.web=T)
#读取数据(通过inport dataset(excel)导入)
head(mydata_heatmap)
#str(mydata_heatmap)
#attributes(mydata_heatmap)
df = as.data.frame(mydata_heatmap)
map_out<-remapH(data=df, #效果如下图
maptype = '四川',
theme = get_theme(theme = "",
lineColor = "",
backgroundColor = "white", #整体背景颜色
titleColor = "black", #标题颜色
borderColor = "grey", #区域边缘颜色
#regionColor ='white',#区域颜色
labelShow = F, #区域名称是否显示
pointShow = T,
pointColor = '',
regionColor="White"),
blurSize = 70,#设置点的模糊程度,越大越模糊
color = c('blue', 'cyan', 'lime', 'yellow', 'red'),
minAlpha = 1,#如果统一值小于minAlpha,则rempaH将设置为minAlpha,以确保小数据值也可以在图表上可见
opacity = 1,#地图的不透明度,默认为1
title='Sichuan'
)
plot(map_out)`
but i got a heatmap with black regioncolor (the heatmap was linked below), how to deal with it?
The text was updated successfully, but these errors were encountered: