angular-chartjs-directive
Version:
An Angular Js Directive which allows to simplify the use of Chartjs charts
29 lines (21 loc) • 617 B
Markdown
# Angular Chart-js Directive
[Homepage](http://earlonrails.github.io/angular-chartjs-directive/)
## Usage
1. Include [chartjs](https://github.com/nnnick/Chart.js) via script tag, can use bower or download min
2. Include `chartjs-directive.js`.
3. Add `chartjs-directive` as a dependency to your app.
4. Make `<chart>`s.
## Bower
Installable via `bower`:
```bash
bower install angular-chartjs-directive
```
## Example
See the [homepage](http://earlonrails.github.io/angular-chartjs-directive/) for an example.
```html
<div ng-app="chartjs-directive">
<chart value="myChart"></chart>
</div>
```
## License
MIT