mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
Fix doughnut sample (#6690)
This commit is contained in:
parent
72df272234
commit
83d447f317
@ -449,7 +449,7 @@ helpers.extend(Chart.prototype, /** @lends Chart */ {
|
||||
},
|
||||
|
||||
/**
|
||||
* Resets the chart back to it's state before the initial animation
|
||||
* Resets the chart back to its state before the initial animation
|
||||
*/
|
||||
reset: function() {
|
||||
this.resetElements();
|
||||
@ -460,6 +460,8 @@ helpers.extend(Chart.prototype, /** @lends Chart */ {
|
||||
var me = this;
|
||||
var i, ilen;
|
||||
|
||||
config = config || {};
|
||||
|
||||
updateConfig(me);
|
||||
|
||||
// plugins options references might have change, let's invalidate the cache
|
||||
|
Loading…
Reference in New Issue
Block a user