mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
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:
committed by
Masahiro Wakame
parent
863fdd02c6
commit
e69548d340
2
c3/c3.d.ts
vendored
2
c3/c3.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user