diff --git a/bower.json b/bower.json index 1451c03e6..1c93aa328 100644 --- a/bower.json +++ b/bower.json @@ -46,6 +46,7 @@ "angular-ui-router": "~0.2.15", "angular-chart.js": "~0.8.8", "angular-chartist.js": "~3.3.12", + "chartist": "0.9.5", "angular-morris-chart": "~1.1.0", "ionrangeslider": "~2.1.2", "angular-bootstrap": "~0.14.3", diff --git a/src/app/pages/charts/chartist/chartistCtrl.js b/src/app/pages/charts/chartist/chartistCtrl.js index 0e3a2a76f..21a2adb6d 100644 --- a/src/app/pages/charts/chartist/chartistCtrl.js +++ b/src/app/pages/charts/chartist/chartistCtrl.js @@ -30,8 +30,6 @@ ] }; - - $scope.areaLineData = { labels: [1, 2, 3, 4, 5, 6, 7, 8], series: [ @@ -236,9 +234,6 @@ new Chartist.Pie('#simple-pie', $scope.simplePieData, $scope.simplePieOptions, $scope.pieResponsive); new Chartist.Pie('#label-pie', $scope.labelsPieData, $scope.labelsPieOptions); new Chartist.Pie('#donut', $scope.simpleDonutData, $scope.simpleDonutOptions, $scope.donutResponsive); - }, 100); - - + }); } - })(); \ No newline at end of file