View source: R/timeseriescolumnchart.R
TimeSeriesColumnChart | R Documentation |
TimeSeriesColumnChart
Plots a time series as columns, optionally smoothing the data.
TimeSeriesColumnChart(
x,
title = "",
xtitle = "",
ytitle = "",
series.name = "",
tickformat = NULL,
smooth = TRUE,
ignore.last.period.from.smooth = FALSE
)
x |
A vector containing values, where the names indicate the dates. |
title |
The title of the chart. |
xtitle |
The title to show on the x-axis. |
ytitle |
The title to show on the y-axis. |
series.name |
E.g., "churn". |
tickformat |
Plotlytickformat |
smooth |
Smooth the data using |
ignore.last.period.from.smooth |
If |
A plotly plot.
z = runif(9)
names(z) = seq(as.Date("2010/1/1"), as.Date("2018/1/1"), "years")
TimeSeriesStackedColumnChart(z, "year")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.