hc_size: Changing the size of a 'highchart' object

Description Usage Arguments Examples

View source: R/highcharts-api-helpers.R

Description

Changing the size of a highchart object

Usage

1

Arguments

hc

A highchart htmlwidget object.

width

A numeric input in pixels.

height

A numeric input in pixels.

Examples

1
2
3
hc <- hchart(ts(rnorm(100)), showInLegend = FALSE)

hc_size(hc, 200, 200)

highcharter documentation built on Jan. 3, 2022, 5:08 p.m.