mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Update 07-Pie-Doughnut-Chart.md
Fixed example in pie chart docs.
This commit is contained in:
parent
ecc35c527b
commit
6255131156
@ -102,8 +102,10 @@ For example, we could have a doughnut chart that animates by scaling out from th
|
||||
```javascript
|
||||
new Chart(ctx,{
|
||||
type:"doughnut",
|
||||
animation:{
|
||||
animateScale:true
|
||||
options: {
|
||||
animation:{
|
||||
animateScale:true
|
||||
}
|
||||
}
|
||||
});
|
||||
// This will create a chart with all of the default options, merged from the global config,
|
||||
|
Loading…
Reference in New Issue
Block a user