Skip to content
Snippets Groups Projects
Commit 939da72b authored by Lillian Gray's avatar Lillian Gray
Browse files

Add information on Google Charts API to readme #9

parent d93b2791
Branches
No related merge requests found
......@@ -2,6 +2,10 @@
### non-function
* creates several global variables
* `lineChartData`, `dashboard`, `controlWrapper`, and `chartWrapper` hold chart objects generated by the Google Charts API
- `lineChartData` holds a DataView which contains the data and visible columns for the chart. More information [here](https://developers.google.com/chart/interactive/docs/reference#DataView).
- `dashboard` holds a Dashboard, which defines the element the chart and date range control are held in. More information [here](https://developers.google.com/chart/interactive/docs/gallery/controls).
- `controlWrapper` holds a ControlWrapper, which defines the options for the date range control below the chart, which is called a ChartRangeFilter by the API. More information on control wrappers [here](https://developers.google.com/chart/interactive/docs/gallery/controls) and more information on the ChartRangeFilter [here](https://developers.google.com/chart/interactive/docs/gallery/controls#chartrangefilter_1).
- `chartWrapper` holds a ChartWrapper, which wraps the chart so it can be connected to the ControlWrapper using the Dashboard. It also holds the chart options and the type of chart. More information [here](https://developers.google.com/chart/interactive/docs/reference#chartwrapperobject).
* `endDate` and `startDate` reference the positions of the range control under the chart
* `URLComponents` references the URL path for permalink creation and parsing
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment