From 6255131156268393d12bab6cff078b3b51a4af4a Mon Sep 17 00:00:00 2001 From: Timofey Rechkalov Date: Sat, 24 Dec 2016 05:24:36 +0500 Subject: [PATCH] Update 07-Pie-Doughnut-Chart.md Fixed example in pie chart docs. --- docs/07-Pie-Doughnut-Chart.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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,