Last active
December 21, 2015 05:38
-
-
Save clouddueling/6258083 to your computer and use it in GitHub Desktop.
Google Charts json for angularjs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $scope.progressChart = { | |
| type: "PieChart", | |
| displayed: false, | |
| cssStyle: "height:200px; width:100%;", | |
| data: { | |
| "cols": [ | |
| {id: "month", label: "Today's Progress", type: "string"}, | |
| {id: "completed-id", label: "Completed Today", type: "number"}, | |
| {id: "due-id", label: "Due Today", type: "number"}, | |
| {id: "overdue-id", label: "Overdue", type: "number"} | |
| ], | |
| }, | |
| options: { | |
| "title": "Today's Progress", | |
| colors: ["#98DB33", "#3498db", "#e74c3c"], | |
| "displayExactValues": true, | |
| } | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $scope.systemsChart = { | |
| type: "LineChart", | |
| displayed: false, | |
| cssStyle: "height:250px; width:100%;", | |
| data: { | |
| "cols": [], | |
| "rows": [] | |
| }, | |
| theme: { | |
| chartArea: { | |
| width: '100%', | |
| height: '100%' | |
| } | |
| }, | |
| options: { | |
| title: "Systems Completed", | |
| colors: ["#98DB33", "#3498db", "#e74c3c"], | |
| "displayExactValues": true, | |
| "vAxis": { | |
| "gridlines": {"count": 4} | |
| }, | |
| legend: { | |
| position: 'bottom', | |
| } | |
| } | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $scope.teamProgressChart = { | |
| type: "ColumnChart", | |
| displayed: false, | |
| cssStyle: "height: 400px; width: 100%;", | |
| data: { | |
| "cols": [], | |
| "rows": [] | |
| }, | |
| options: { | |
| "title": "Team System Progress", | |
| "isStacked": "true", | |
| "fill": 20, | |
| colors: [ | |
| "#98DB33", | |
| "#3498db", | |
| "#e74c3c", | |
| "#3398DB", | |
| "#DB7633", | |
| "#DB3344", | |
| "#DB3398", | |
| "#7633DB", | |
| "#33DBCA", | |
| "#3398DB", | |
| "#B2E467", | |
| "#BC9BED" | |
| ], | |
| "displayExactValues": true, | |
| "vAxis": { | |
| "title": null, "gridlines": {"count": 6} | |
| } | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment