Employee Time Log : Dashboard View using Morris.js
Hi Guys, I added new page to the Employee Time Log by adding a new dashboard view to it. Hope you like it. Dashboard View Added a New Field as Type Of Work to Group Data Solution 1) Create a controller in js -> app.js as following appmodule.controller('DashboardController', ["$scope", "$http", "authService", "$filter", DashboardController]) function DashboardController($scope, $http, authService, $filter) { var scope = $scope; scope.TaskCount = 0; scope.AllCount = 0; scope.IsLineWeekly = true; scope.IsBarWeekly = true; scope.authentication = authService.authentication; scope.DrawLineChart = function (isWeekly) { var responsePromise = $http.get("/Services/EmployeeService.svc/GetWeeklyDashboard?userName=" + scope.authentication.userName ...