Add an axis to a chart.
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).