Description Usage Arguments Value Examples
View source: R/markLineControl.R
markLineControl is a function for the themes of mark line, which can be set as a element in remapC and remapB
1 2 3 4 5 6 7 8 | markLineControl(symbol = c('none', 'arrow'),
symbolSize = c(2,4),
smooth = T,
smoothness = 0.2,
effect = T,
lineWidth = 1,
lineType = 'solid',
color = "Random")
|
symbol |
the symbol of the point default:'pin', can be one of the 'circle','rectangle', 'triangle','diamond','emptyCircle','emptyRectangle', 'emptyTriangle','emptyDiamond','heart','droplet','pin','arrow' 'tar' or the filepath to a fingure file(e.g. "'image://http://echarts.baidu.com/doc//asset/ico/favicon.png'") |
symbolSize |
the size of the symbol, default is 10 |
smooth |
smoothed line, logical object, default is T, while smooth is true, lineType can not be dashed. |
smoothness |
Line smoothness. Only available when smooth is true |
effect |
whether to show glow effect for markLine symbol |
lineWidth |
width of the line |
lineType |
type of the line can be 'solid', 'dotted' or 'dashed'. |
color |
Color of the line |
A list of line control object, which can be used for
1 2 3 4 5 6 7 8 9 10 | mapdata = read.csv("demo/chinaIphone.csv")
out = remapC(data = mapdata,
color = c("white","white"),
theme=get_theme("none","white","white","white",'white'),
markPointData = demoC[,2],
markPointTheme = markPointControl(
symbol = "image://demo/1.png",
symbolSize = 50,
effectType = 'bounce' ),
geoData = geoData)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.