Learn R Programming

highcharter (version 0.9.4)

hc_size: 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

Run this code
# NOT RUN {
hc <- hchart(ts(rnorm(100)), showInLegend = FALSE)

hc_size(hc, 200, 200)
# }

Run the code above in your browser using DataLab