Skip to contents

Changing the size of a highchart object

Usage

hc_size(hc, width = NULL, height = NULL)

Arguments

hc

A highchart htmlwidget object.

width

A numeric input in pixels.

height

A numeric input in pixels.

Examples


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

hc_size(hc, 200, 200)