Merge pull request #4091 from Slimfit/patch-2

CircularInstance.addData was incorrect
This commit is contained in:
Masahiro Wakame
2015-04-14 08:12:06 +09:00
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ interface LinearInstance extends ChartInstance {
interface CircularInstance extends ChartInstance {
getSegmentsAtEvent: (event: Event) => {}[];
update: () => void;
addData: (valuesArray: CircularChartData[], index: number) => void;
addData: (valuesArray: CircularChartData, index?: number) => void;
removeData: (index: number) => void;
segments: Array<CircularChartData>;
}