eBmap: Create an HTML map charts widget using the...

Description Usage Arguments Examples

View source: R/eBmap.R

Description

This function creates an HTML widget to display data.frame and factor array, using the JavaScript library ECharts3.

Usage

1
2
3
eBmap(center = c(104.114129, 37.550339), zoom = 5, roam = TRUE,
  mapStyle = NULL, title = NULL, subtitle = NULL,
  title.x = "center", title.y = "top", size = NULL)

Arguments

center

center of echarts map(lon,lat)

zoom

zoom of the map

roam

allow roam, default is true

mapStyle

a list object to set map style

title, subtitle

an overall title for the plot. you can modify title widget after chart has been generated: Echart + eTitle(title = "your title.")

title.x, title.y

the xy coordinates of main title, besides the excat exact pixels value, x accept c("left", "right", "center") and y accept c("top", "bottom", "center") as legal input. you can modify title widget after chart has been generated: Echart + eTitle(title="main title", x = "left", y=10)

Examples

1

taiyun/recharts documentation built on Aug. 29, 2020, 3:17 a.m.