txbm / angular-chartjs

Directive set for the ChartJS library. Supports data bindings and attribute-level specification for chart specific options. The only Angular ChartJS module that supports ALL chart options as HTML5 attributes :)
MIT License
146 stars 37 forks source link

ReferenceError: Chart is not defined at postLink #10

Closed krisnicolaou closed 10 years ago

krisnicolaou commented 10 years ago

I'm getting a ReferenceError: Chart is not defined at postLink. I followed the documentation exactly, but I'm using a new version of AngularJS (1.2.16) than what's in your "lib" folder (1.0.8).

txbm commented 10 years ago

I need to upgrade this library to be tested against later versions of AngularJS. The latest version I think I've used it with is 1.2.9. Will investigate and push a fix for this.

abhishek-anand commented 10 years ago

@krisnicolaou Did you include Chart.js along with this library in index.html ?

txbm commented 10 years ago

Closing this in light of new releases and updates. Please comment if there are residual issues here.