From 662c5dc52983b9c466f3dcfbeba7917778acf5b2 Mon Sep 17 00:00:00 2001 From: KostyaDanovsky Date: Mon, 11 Apr 2016 18:05:17 +0300 Subject: [PATCH] fix(charts): set 0.9.5 version for the chartist library Closes #5 --- bower.json | 1 + src/app/pages/charts/chartist/chartistCtrl.js | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) 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