summaryrefslogtreecommitdiff
path: root/www/lib/angular-google-chart/partials/generic.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/lib/angular-google-chart/partials/generic.js')
-rw-r--r--www/lib/angular-google-chart/partials/generic.js39
1 files changed, 0 insertions, 39 deletions
diff --git a/www/lib/angular-google-chart/partials/generic.js b/www/lib/angular-google-chart/partials/generic.js
deleted file mode 100644
index 6521e7d5..00000000
--- a/www/lib/angular-google-chart/partials/generic.js
+++ /dev/null
@@ -1,39 +0,0 @@
-angular.module("google-chart-sample").controller("GenericChartCtrl", function ($scope, $routeParams) {
- $scope.chartObject = {};
-
- $scope.onions = [
- {v: "Onions"},
- {v: 3},
- ];
-
- $scope.chartObject.data = {"cols": [
- {id: "t", label: "Topping", type: "string"},
- {id: "s", label: "Slices", type: "number"}
- ], "rows": [
- {c: [
- {v: "Mushrooms"},
- {v: 3},
- ]},
- {c: $scope.onions},
- {c: [
- {v: "Olives"},
- {v: 31}
- ]},
- {c: [
- {v: "Zucchini"},
- {v: 1},
- ]},
- {c: [
- {v: "Pepperoni"},
- {v: 2},
- ]}
- ]};
-
-
- // $routeParams.chartType == BarChart or PieChart or ColumnChart...
- $scope.chartObject.type = $routeParams.chartType;
- $scope.chartObject.options = {
- 'title': 'How Much Pizza I Ate Last Night'
- }
-});
-