e_dims: Dimensions

View source: R/opts.R

e_dimsR Documentation

Dimensions

Description

Sets the dimensions of the chart _internally._ This will only affect the dimensions of the chart within its parent container. Use the 'height' and 'width' arguments of [e_charts] if you want to change the dimensions of said parent (recommended).

Usage

e_dims(e, height = "auto", width = "auto")

Arguments

e

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

height, width

Dimensions in pixels, percentage or string.


echarts4r documentation built on July 9, 2023, 7:26 p.m.