An Angular Js Directive which allows to simplify the use of Chartjs charts
HTML JavaScript
Latest commit 31b3c55 Sep 28, 2016 @earlonrails committed on GitHub Merge pull request #10 from ghost/master
Fix Chartjs dependency

README.md

Angular Chart-js Directive

Homepage

Usage

  1. Include chartjs 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:

bower install angular-chartjs-directive

Example

See the homepage for an example.

<div ng-app="chartjs-directive">
  <chart value="myChart"></chart>
</div>

License

MIT