From d583a7bf192681124604e6dc6a0a62f467ee0c81 Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Sat, 23 Apr 2016 10:45:23 -0400 Subject: [PATCH] Fix #2324 --- docs/06-Pie-Doughnut-Chart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/06-Pie-Doughnut-Chart.md b/docs/06-Pie-Doughnut-Chart.md index b1fef2288..0919874f1 100644 --- a/docs/06-Pie-Doughnut-Chart.md +++ b/docs/06-Pie-Doughnut-Chart.md @@ -66,7 +66,7 @@ var data = { }; ``` -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. +For a pie chart, datasets need to contain an array of data points. The data points should be a number, Chart.js will total all of the numbers and calculate the relative proportion of each. You can also add an array of background colors. The color attributes should be a string. Similar to CSS, for this string you can use HEX notation, RGB, RGBA or HSL. ### Chart options -- 2.47.3