[Solved] How do we can use chart.js in angular JS? [closed]
You need to refer the angular-chart and chart.js libraries together and inject as a dependency to your module, angular.module(“app”, [“chart.js”]) DEMO (function(angular) { ‘use strict’; angular.module(‘myApp’, [‘chart.js’]) .controller(‘myController’, [function() { var ctrl = this; ctrl.socialChart = { options : { scales: { xAxes: [{ stacked: true, }], yAxes: [{ stacked: true }] } }, type: … Read more