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,8 +102,10 @@ 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",
animation:{ options: {
animateScale:true animation:{
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,