Add stacked histogram to active time series plot
lines_stacked_hist(x = 1:nrow(data), data, width = "auto", col = "auto",
ordered = TRUE)
location coordinates
time_series data.frame
or data.table
object with 4 columns 'open','high','low','close'
width of histogram segment
colors of segments
should stacked bars be in order?
Used in plot_ts
internally.
Other graphical functions: add_last_values
,
add_legend
, distinct_colors
,
empty_plot
, hist_dt
,
lines_ohlc
, multi_heatmap
,
plot_table
, plot_ts