AngularJS Directive for minimalistic Pie Charts and Donut Chart.
Download it with bower
bower install https://github.com/pasqLisena/angular-minimal-piechart
Add to your page
<link rel="stylesheet" href="bower_components/angular-minimal-piechart.css">
<script src="bower_components/angular-minimal-piechart/angular-minimal-piechart.js"></script>
Declare it as dependency in your app module definition:
angular.module('myAppModule', ['minimalPiechart']
The module expose two directives:
<piechart value="23"></piechart>
<donutchart value="45"></donutchart>
value
a number between 0 and 100 representing how much the chart is fill
The color can be changed throug css
.piechart-wheel {
stroke: rgba(255, 255, 255, .25);
}
.piechart-value {
stroke: #fff;
}