Fixed arguments for tooltips value formatting (#11253)

* Update c3.d.ts

Fixed arguments for tooltips value formatting

* Update c3.d.ts
This commit is contained in:
Martin D
2016-09-19 02:15:00 -04:00
committed by Masahiro Wakame
parent 863fdd02c6
commit e69548d340

2
c3/c3.d.ts vendored
View File

@@ -681,7 +681,7 @@ declare namespace c3 {
* Specified function receives name, ratio, id and index of the data point to show. ratio will be undefined if the chart is not donut/pie/gauge.
* If undefined returned, the row of that value will be skipped.
*/
value?: (name: string, ratio: number, id: string, index: number) => string;
value?: (value: any, ratio: number, id: string, index: number) => string;
};
/**
* Set custom position for the tooltip. This option can be used to modify the tooltip position by returning object that has top and left.