Merge pull request #431 from Mardaneus86/patch-1

Missing draw method in Writing new chart types
This commit is contained in:
Nick Downie 2014-07-27 22:58:55 +01:00
commit ebc955f562

View File

@ -92,6 +92,9 @@ Chart.Type.extend({
initialize: function(data){ initialize: function(data){
this.chart.ctx // The drawing context for this chart this.chart.ctx // The drawing context for this chart
this.chart.canvas // the canvas node for this chart this.chart.canvas // the canvas node for this chart
},
// Used to draw something on the canvas
draw: function() {
} }
}); });