[Chartjs]-TypeError: Chart.defaults.global.tooltips is undefined in AngularJS

2πŸ‘

βœ…

I ran into the same issue…
I suppose its something with the versions of both angular and chart js. From the docs it is recommended to use AngularJS (requires at least 1.4.x) and Chart.js (requires Chart.js 2.x). I had no such issues with Anguar 1.6.4 and chart js 2.6.0 till I updated Angular to 1.6.6. However the error you got is by use of chartJs less than version 2. For me I am getting a different error with angular 1.6.6… i.e.

TypeError: arcOpts is undefined

Leave a comment