diff --git a/bower_components/google-chart/.bower.json b/bower_components/google-chart/.bower.json new file mode 100644 index 0000000..191dd4d --- /dev/null +++ b/bower_components/google-chart/.bower.json @@ -0,0 +1,43 @@ +{ + "name": "google-chart", + "version": "1.0.4", + "description": "Encapsulates Google Charts into a web component", + "homepage": "https://googlewebcomponents.github.io/google-chart", + "main": "google-chart.html", + "authors": [ + "Sérgio Gomes" + ], + "license": "Apache2", + "ignore": [ + "/.*", + "/test/" + ], + "keywords": [ + "web-component", + "web-components", + "polymer", + "chart", + "charts", + "google-visualization", + "google" + ], + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0", + "google-apis": "GoogleWebComponents/google-apis#^1.0.0", + "iron-ajax": "PolymerElements/iron-ajax#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.2", + "web-component-tester": "*" + }, + "_release": "1.0.4", + "_resolution": { + "type": "version", + "tag": "1.0.4", + "commit": "eaaaf380c6a769ded22706702151b797fd8f031c" + }, + "_source": "git://github.com/GoogleWebComponents/google-chart.git", + "_target": "~1.0.4", + "_originalSource": "google-chart", + "_direct": true +} \ No newline at end of file diff --git a/bower_components/google-chart/LICENSE b/bower_components/google-chart/LICENSE new file mode 100644 index 0000000..52aea39 --- /dev/null +++ b/bower_components/google-chart/LICENSE @@ -0,0 +1,13 @@ +Copyright 2014 Google Inc + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/bower_components/google-chart/README.md b/bower_components/google-chart/README.md new file mode 100644 index 0000000..ecf9dc6 --- /dev/null +++ b/bower_components/google-chart/README.md @@ -0,0 +1,6 @@ +google-chart +============ + +[Google Charts API](https://developers.google.com/chart/) web components. + +See https://elements.polymer-project.org/elements/google-chart diff --git a/bower_components/google-chart/bower.json b/bower_components/google-chart/bower.json new file mode 100644 index 0000000..cb9ac5d --- /dev/null +++ b/bower_components/google-chart/bower.json @@ -0,0 +1,33 @@ +{ + "name": "google-chart", + "version": "1.0.4", + "description": "Encapsulates Google Charts into a web component", + "homepage": "https://googlewebcomponents.github.io/google-chart", + "main": "google-chart.html", + "authors": [ + "Sérgio Gomes" + ], + "license": "Apache2", + "ignore": [ + "/.*", + "/test/" + ], + "keywords": [ + "web-component", + "web-components", + "polymer", + "chart", + "charts", + "google-visualization", + "google" + ], + "dependencies": { + "polymer": "Polymer/polymer#^1.0.0", + "google-apis": "GoogleWebComponents/google-apis#^1.0.0", + "iron-ajax": "PolymerElements/iron-ajax#^1.0.0" + }, + "devDependencies": { + "iron-component-page": "PolymerElements/iron-component-page#^1.0.2", + "web-component-tester": "*" + } +} diff --git a/bower_components/google-chart/demo/chart-data.json b/bower_components/google-chart/demo/chart-data.json new file mode 100644 index 0000000..7d9a9cb --- /dev/null +++ b/bower_components/google-chart/demo/chart-data.json @@ -0,0 +1 @@ +[["Bar", "Height", { "role": "style" } ], ["Bar 1", 10, "color: gray"], ["Bar 2", 14, "color: #76A7FA"], ["Bar 3", 16, "opacity: 0.2"], ["Bar 4", 22, "stroke-color: #703593; stroke-width: 4; fill-color: #C5A5CF"],["Bar 5", 28, "stroke-color: #871B47; stroke-opacity: 0.6; stroke-width: 8; fill-color: #BC5679; fill-opacity: 0.2"]] \ No newline at end of file diff --git a/bower_components/google-chart/demo/country-data.json b/bower_components/google-chart/demo/country-data.json new file mode 100644 index 0000000..b664776 --- /dev/null +++ b/bower_components/google-chart/demo/country-data.json @@ -0,0 +1,66 @@ +{ + "cols": [ + { + "id": "ga:country", + "label": "Country", + "type": "string" + }, + { + "id": "ga:sessions", + "label": "Sessions", + "type": "number" + } + ], + "rows": [ + { + "c": [ + { + "v": "United States" + }, + { + "v": 24748 + } + ] + }, + { + "c": [ + { + "v": "Canada" + }, + { + "v": 15232 + } + ] + }, + { + "c": [ + { + "v": "India" + }, + { + "v": 9100 + } + ] + }, + { + "c": [ + { + "v": "Japan" + }, + { + "v": 4845 + } + ] + }, + { + "c": [ + { + "v": "United Kingdom" + }, + { + "v": 2768 + } + ] + } + ] +} \ No newline at end of file diff --git a/bower_components/google-chart/demo/index.html b/bower_components/google-chart/demo/index.html new file mode 100644 index 0000000..324a0dc --- /dev/null +++ b/bower_components/google-chart/demo/index.html @@ -0,0 +1,410 @@ + + + +
+ +A simple google-chart
looks like this:
Charts can be resized with CSS, but you'll need to call the drawChart
method when the size changes.
Here's a basic responsive example using only CSS and JS. You could also use <iron-media-query>
.
Here's a chart that changes data every 3 seconds:
+ +Here's a pie chart with an area selection:
+ +Here's a chart defined using data
, rather than rows
and cols
:
And one with some pretty complicated styling, where the data is loaded from an external JSON resource using the data
attribute:
Website traffic data by country from an external JSON resource where the data is in raw DataTable format.
+ +Here's an area chart:
+ +Here's a bar chart:
+ +Here's a bubble chart:
+ +Here's a candlestick chart:
+ +Here's a column chart:
+ +Here's a combo chart:
+ +Here's a geo chart:
+ +Here's a histogram:
+ +Here's a line chart:
+ +Here's a pie chart:
+ +Here's a scatter chart:
+ +Here's a stepped area chart:
+ +Here's a table chart:
+ +Here are three gauges:
+ +Here are three gauges with random data that change every three seconds:
+ +Here's a treemap:
+ +Here's an image of the line chart:
+ + + + + + + diff --git a/bower_components/google-chart/google-chart.css b/bower_components/google-chart/google-chart.css new file mode 100644 index 0000000..8fec5aa --- /dev/null +++ b/bower_components/google-chart/google-chart.css @@ -0,0 +1,18 @@ +:host { + display: -webkit-flex; + display: -ms-flex; + display: flex; + margin: 0; + padding: 0; + width: 400px; + height: 300px; +} + +:host([type="gauge"]) { + width: 300px; + height: 300px; +} + +#chartdiv { + width: 100%; +} diff --git a/bower_components/google-chart/google-chart.html b/bower_components/google-chart/google-chart.html new file mode 100644 index 0000000..e31baeb --- /dev/null +++ b/bower_components/google-chart/google-chart.html @@ -0,0 +1,399 @@ + + + + + +