Add an axis to a chart.
1 2 3 4 5 6 7 8 9 10 | eAxis(chart, which = c("x", "y"), type = c("value", "category", "time"), show = TRUE,
position = c("bottom", "top", "left", "right"), name = "", nameLocation = c("end",
"start"), nameTextStyle = emptyList(), boundaryGap = c(0, 0), min = NULL,
max = NULL, scale = TRUE, splitNumber = NULL, axisLine = list(show = TRUE,
onZero = FALSE), axisTick = list(show = FALSE), axisLabel = list(show = TRUE),
splitLine = list(show = TRUE), splitArea = list(show = FALSE), data = list())
eXAxis(chart, ...)
eYAxis(chart, ...)
|
This function modified a few default options for the axis component in
ECharts: 1) scale = TRUE
(was FALSE
by default in ECharts); 2)
axisLine$onZero = FALSE
(was TRUE
in ECharts).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.