mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Merge pull request #431 from Mardaneus86/patch-1
Missing draw method in Writing new chart types
This commit is contained in:
commit
ebc955f562
@ -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() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user