Learn R Programming

googleCharts (version 0.1.0)

googleAnnotatedTimeLine: Create a Google Chart

Description

These functions are intended to be used in a Shiny application's ui.R file to create a Google chart of the appropriate type. Don't forget to call googleChartsInit in the ui.R file as well!

Usage

googleAnnotatedTimeLine(id, width, height, options = list(), ...)
googleAreaChart(id, width, height, options = list(), ...)
googleBarChart(id, width, height, options = list(), ...)
googleBubbleChart(id, width, height, options = list(), ...)
googleCandlestickChart(id, width, height, options = list(), ...)
googleColumnChart(id, width, height, options = list(), ...)
googleComboChart(id, width, height, options = list(), ...)
googleGauge(id, width, height, options = list(), ...)
googleGeoChart(id, width, height, options = list(), ...)
googleGeoMap(id, width, height, options = list(), ...)
googleIntensityMap(id, width, height, options = list(), ...)
googleLineChart(id, width, height, options = list(), ...)
googleMap(id, width, height, options = list(), ...)
googleMotionChart(id, width, height, options = list(), ...)
googleOrgChart(id, width, height, options = list(), ...)
googlePieChart(id, width, height, options = list(), ...)
googleScatterChart(id, width, height, options = list(), ...)
googleSteppedAreaChart(id, width, height, options = list(), ...)
googleTable(id, width, height, options = list(), ...)
googleTreeMap(id, width, height, options = list(), ...)
googleSankey(id, width, height, options = list(), ...)
googleCalendar(id, width, height, options = list(), ...)
googleHistogram(id, width, height, options = list(), ...)
googleTimeline(id, width, height, options = list(), ...)

Arguments

id
The output variable name for this chart.
width
The width of the chart, in CSS units (e.g. "600px" (for 600 pixels), "75%", or "auto") or as a number (for pixels).
height
The width of the chart, in CSS units or as a number.
options
A list containing named chart options, to be used when creating the chart. Nested lists should be used for nested options, e.g. list(hAxis = list(maxValue = 100)).
...
Additional tag attributes or child elements to include in the chart's
.

Examples

Run this code
TODO

Run the code above in your browser using DataLab