e_axis_labels: Axis Labels

Description Usage Arguments Examples

View source: R/grid.R

Description

Convenience function to add axis labels.

Usage

1
e_axis_labels(e, x = "", y = "")

Arguments

e

An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.

x, y

Labels of axes.

Examples

1
2
3
4
5
6
7
cars |>
  e_charts(speed) |>
  e_scatter(dist) |>
  e_axis_labels(
    x = "speed",
    y = "distance"
  )

JohnCoene/echarts4 documentation built on July 27, 2021, 5:20 p.m.