axis: Create an axis for a chart

Description Usage Details

Description

Add an axis to a chart.

Usage

1
2
3
4
5
title(chart, visible = TRUE, text = NULL, style = NULL)

eXAxis(chart, ...)

eYAxis(chart, ...)

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


GOUYONGCHAO/g2r documentation built on March 16, 2021, 9:02 p.m.