Learn R Programming

googleVis (version 0.4.4)

gvisSteppedAreaChart: Google Stepped Area Chart with R

Description

The gvisSteppedAreaChart function reads a data.frame and creates text output referring to the Google Visualisation API, which can be included into a web page, or as a stand-alone page. The stepped area chart is rendered within the browser using SVG or VML and displays tips when hovering over points.

Usage

gvisSteppedAreaChart(data, xvar = "", yvar = "", options = list(), chartid)

Arguments

data
a data.frame to be displayed as a stepped area chart.
xvar
name of the character column which contains the category labels for the x-axes.
yvar
a vector of column names of the numerical variables to be plotted. Each column is displayed as a separate line.
options
list of configuration options for Google Stepped Area Chart. [object Object] Further possible components are, taken from https://google-developers.appspot.com/chart/interactive/docs/gallery/steppedareachart.html#Configuration_Options<