Description Usage Arguments Details Value Examples
the function can graphically devide the chart into two periods e.g. past and future.
1 2 3 4 |
data |
datafram |
col_revenue |
character vector denoting revenue column |
col_cost |
character vector denoting cost column |
col_time |
character vector denoting time column |
now |
integer denoting a time which should be regarded as the breakpoint, Default: max(data[, col_time]) |
unit_time |
character vector, will label y-axis, Default: 'years' |
unit_value |
character vector, will label x-axis, Default: 'CHF' |
title |
character vector, will be title label, Default: ” |
alpha_past |
double between 0 and 1 will determine alpha value for fill under the curve before the breakpoint, Default: 1 |
alpha_future |
double between 0 and 1 will determine alpha value for fill under the curve after the breakpoint, Default: 0.5 |
not plotly compatibel
plot (is not plotly compatibel)
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.