hc_size: Changing the size of a 'highchart' object

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

hc_sizeR Documentation

Changing the size of a highchart object

Description

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)

jbkunst/highcharter documentation built on March 14, 2024, 12:52 a.m.