Plot hydrological time-series (highcharts)
Usage
plot_ts(
data,
name = NA,
unit = NA,
yrange = NULL,
unit.threshold = 10,
subtitle = NULL,
...
)
Arguments
- data
data.table to plot with columns
date
andvalue
(will usedate_end
ifdate
is missing)- name
series' display name
- unit
display unit
- yrange
manual y-axis range
- unit.threshold
maximum threshold to convert from km³ to MCM unit (default: 10 km³)
- subtitle
chart subtitle
- ...
Arguments passed on to
hc_themed
hc
a highchart object
title
chart title
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)