All Commands
All Google
Commands
GOOGLE_CHART_BTN
Adds a google charts chart to the page. It collects the data from a table, the table must be structured properly, more on that here: Google Charts.
Number | Name | Default | Type | Description |
---|---|---|---|---|
1 | source_id | String | The id of the table that is holding the data. Must include the # for example: #chart_data. | |
2 | dest_id | String | The id of the div to display the chart in. Must include the #, for example: #chart_here. | |
3 | type | BarChart | String | The type of chart to display. PieChart 3DPieChart DonutChart BarChart LineChart ColumnChart AreaChart SteppedAreaChart |
4 | disp_text | String | Will display text on a button that generates the chart, if not set it will use a symbol that corresponds with the chart from parameter 3. | |
- | style | String | Add a style to the button. | |
- | class | String | Add a class to the button, for example: {"class":"btn btn-primary"} | |
- | back | false | Boolean | Back Button |
Example
Fruits | |
Apples | 6 |
Pears | 2 |
Banannas | 8 |
Chart Goes Here