googleChart: Create a Google Chart

Description Usage Arguments Examples

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

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

Examples

1
2
TODO
  

jcheng5/googleCharts documentation built on Nov. 29, 2020, 5:20 p.m.