From fd2344dd5f9de7b4aebff48fb21af3670705551f Mon Sep 17 00:00:00 2001 From: Damian Silbergleith Cunniff Date: Sat, 26 Dec 2015 09:47:59 -0700 Subject: [PATCH] Update the docs to reflect the new feature --- docs/05-Pie-Doughnut-Chart.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/05-Pie-Doughnut-Chart.md b/docs/05-Pie-Doughnut-Chart.md index d50e2867c..23dedd0f5 100644 --- a/docs/05-Pie-Doughnut-Chart.md +++ b/docs/05-Pie-Doughnut-Chart.md @@ -137,6 +137,8 @@ myDoughnutChart.update(); Calling `addData(segmentData, index)` on your Chart instance passing an object in the same format as in the constructor. There is an optional second argument of 'index', this determines at what index the new segment should be inserted into the chart. +If you don't specify a color and highliht, one will be chosen from the global default array: segmentColorDefault and the corresponding segmentHighlightColorDefault. The index of the addded data is used to lookup a corresponding color from the defaults. + ```javascript // An object in the same format as the original data source myDoughnutChart.addData({