From 0f49be56a4b3f6f7e2b5a5b6a2c4b0e1e628ea19 Mon Sep 17 00:00:00 2001 From: Christopher Weiss Date: Mon, 26 Jan 2015 16:33:24 -0500 Subject: [PATCH] Update 05-Pie-Doughnut-Chart.md --- docs/05-Pie-Doughnut-Chart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/05-Pie-Doughnut-Chart.md b/docs/05-Pie-Doughnut-Chart.md index 9c2b8a777..84bc08a81 100644 --- a/docs/05-Pie-Doughnut-Chart.md +++ b/docs/05-Pie-Doughnut-Chart.md @@ -55,7 +55,7 @@ var data = [ ] ``` -For a pie chart, you must pass in an array of objects with a value and a color property. The value attribute should be a number, Chart.js will total all of the numbers and calculate the relative proportion of each. The color attribute should be a string. Similar to CSS, for this string you can use HEX notation, RGB, RGBA or HSL. +For a pie chart, you must pass in an array of objects with a value and an optional color property. The value attribute should be a number, Chart.js will total all of the numbers and calculate the relative proportion of each. The color attribute should be a string. Similar to CSS, for this string you can use HEX notation, RGB, RGBA or HSL. ### Chart options @@ -155,4 +155,4 @@ Calling `removeData(index)` on your Chart instance will remove segment at that p ```javascript myDoughnutChart.removeData(); // Other segments will update to fill the empty space left. -``` \ No newline at end of file +```