Try this for a line chart:
var originalLineController = Chart.controllers.line; Chart.controllers.line = Chart.controllers.line.extend({ draw: function() { originalLineController.prototype.draw.apply(this, arguments); } }
You can get the context with:
var ctx = this.chart.chart.ctx;
source share