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.


JohnCoene/echarts4 documentation built on Feb. 23, 2024, 9:18 a.m.