angular-chart-donut
v0.1.0
Published
* `bower install angular-chart-donut` * `npm install angular-chart-donut`
Downloads
3
Readme
Angular donut-chart
bower install angular-chart-donut
npm install angular-chart-donut
angular.module('mymodule', ['chart.donut']);
<chart-donut data="modeldata" title="Percentage awesomeness" size="150"></chart-donut>
Element attribute options
data
Bind to an integer ranging from 0 to 100title
Use this title for the drop-pincolor
Optionally set a color. This can also be achieved through CSS overridessymbol
Defaults to%
but can be set to other values, like empty stringsize
Pixel size of chart, if not set the chart will attempt to size itself by its parent, but if parent does not have a size while the chart is rendered this will fail.