lines_stacked_hist: Add stacked histogram to active time series plot

Description Usage Arguments Details See Also

View source: R/lines_stacked_hist.R

Description

Add stacked histogram to active time series plot

Usage

1
2
lines_stacked_hist(x = 1:nrow(data), data, width = "auto", col = "auto",
  ordered = TRUE)

Arguments

x

location coordinates

data

time_series data.frame or data.table object with 4 columns 'open','high','low','close'

width

width of histogram segment

col

colors of segments

ordered

should stacked bars be in order?

Details

Used in plot_ts internally.

See Also

Other graphical functions: add_last_values, add_legend, distinct_colors, empty_plot, hist_dt, lines_ohlc, multi_heatmap, plot_table, plot_ts


QuantTools documentation built on Oct. 23, 2020, 7:54 p.m.