diff --git a/Apollo/assets/js/controllers/dashboardCtrl.js b/Apollo/assets/js/controllers/dashboardCtrl.js index 04eb8bda..745209ff 100644 --- a/Apollo/assets/js/controllers/dashboardCtrl.js +++ b/Apollo/assets/js/controllers/dashboardCtrl.js @@ -63,60 +63,3 @@ app.controller('dashboardCtrl', ["$scope","toaster", "$filter", "ngTableParams", }; }]); - -app.controller('OnotherCtrl', ["$scope", function ($scope) { - - // Chart.js Data - $scope.data = [ - - { - value: 50, - color: '#46BFBD', - highlight: '#5AD3D1', - label: 'Student' - }, - { - value: 100, - color: '#FDB45C', - highlight: '#FFC870', - label: 'Staff' - } - ]; - $scope.total = 150; - // Chart.js Options - $scope.options = { - - // Sets the chart to be responsive - responsive: false, - - //Boolean - Whether we should show a stroke on each segment - segmentShowStroke: true, - - //String - The colour of each segment stroke - segmentStrokeColor: '#fff', - - //Number - The width of each segment stroke - segmentStrokeWidth: 2, - - //Number - The percentage of the chart that we cut out of the middle - percentageInnerCutout: 50, // This is 0 for Pie charts - - //Number - Amount of animation steps - animationSteps: 100, - - //String - Animation easing effect - animationEasing: 'easeOutBounce', - - //Boolean - Whether we animate the rotation of the Doughnut - animateRotate: true, - - //Boolean - Whether we animate scaling the Doughnut from the centre - animateScale: false, - - //String - A legend template - legendTemplate: '