Skip to contents

Plot temperature indices (highcharts)

Usage

plot_idx_mosaic(data, title = NA, subtitle = NA, ...)

Arguments

data

output of wc_trg*

title

chart title

subtitle

chart subtitle

...

Arguments passed on to hc_themed

hc

a highchart object

label

optional annotation

base_font

default font for all chart elements

axes

show axes (default: TRUE)

exporting

include chart export menu (default: TRUE)

credits

include credits (default: FALSE)

Examples

data <- data.table(
  year = rep(2000:2010, each=10),
  loc_id = 1:10,
  idx = rnorm(10, mean=80)
)
#> Error in data.table(year = rep(2000:2010, each = 10), loc_id = 1:10, idx = rnorm(10,     mean = 80)): could not find function "data.table"
plot_idx_mosaic(data)
#> Error: Objects of class/type function are not supported by hchart (yet).