diff --git a/docs/07-Pie-Doughnut-Chart.md b/docs/07-Pie-Doughnut-Chart.md index 0b2cc115e..998301322 100644 --- a/docs/07-Pie-Doughnut-Chart.md +++ b/docs/07-Pie-Doughnut-Chart.md @@ -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,