Angular Chart-js Directive
Modifications
directive will now fit its container
Usage
- Include chartjs via script tag, can use bower or download min
- Include
chartjs-directive.js
. - Add
chartjs-directive
as a dependency to your app. - 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