Skip to content

Commit

Permalink
Fix #2324
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Apr 23, 2016
1 parent f56936c commit d583a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/06-Pie-Doughnut-Chart.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d583a7b

Please sign in to comment.