Update 07-Pie-Doughnut-Chart.md

Fixed example in pie chart docs.
This commit is contained in:
Timofey Rechkalov 2016-12-24 05:24:36 +05:00 committed by Evert Timberg
parent ecc35c527b
commit 6255131156

View File

@ -102,9 +102,11 @@ For example, we could have a doughnut chart that animates by scaling out from th
```javascript ```javascript
new Chart(ctx,{ new Chart(ctx,{
type:"doughnut", type:"doughnut",
options: {
animation:{ animation:{
animateScale:true animateScale:true
} }
}
}); });
// This will create a chart with all of the default options, merged from the global config, // This will create a chart with all of the default options, merged from the global config,
// and the Doughnut chart defaults but this particular instance will have `animateScale` set to `true`. // and the Doughnut chart defaults but this particular instance will have `animateScale` set to `true`.