Learn R Programming

recharts (version 0.0.3)

eAxis: Create an axis for a chart

Description

Add an axis to a chart.

Usage

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, ...)

Arguments

Details

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).