TimeSeriesColumnChart: 'TimeSeriesColumnChart'

View source: R/timeseriescolumnchart.R

TimeSeriesColumnChartR Documentation

TimeSeriesColumnChart

Description

Plots a time series as columns, optionally smoothing the data.

Usage

TimeSeriesColumnChart(
  x,
  title = "",
  xtitle = "",
  ytitle = "",
  series.name = "",
  tickformat = NULL,
  smooth = TRUE,
  ignore.last.period.from.smooth = FALSE
)

Arguments

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 tickformat.

smooth

Smooth the data using supmsu.

ignore.last.period.from.smooth

If TRUE, the last period is ignored from the smoothing.

Value

A plotly plot.

Examples

z = runif(9)
names(z) = seq(as.Date("2010/1/1"), as.Date("2018/1/1"), "years")
TimeSeriesStackedColumnChart(z, "year")

NumbersInternational/flipTime documentation built on Feb. 26, 2024, 6:44 a.m.