mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-25 13:45:48 +08:00
Add support for d3's tickPadding and tickValues functions.
This commit is contained in:
10
d3/d3.d.ts
vendored
10
d3/d3.d.ts
vendored
@@ -1555,6 +1555,16 @@ declare module D3 {
|
||||
(...arguments: any[]): Axis;
|
||||
};
|
||||
|
||||
tickPadding: {
|
||||
(): number;
|
||||
(padding: number): Axis;
|
||||
};
|
||||
|
||||
tickValues: {
|
||||
(): any[];
|
||||
(values: any[]): Axis;
|
||||
};
|
||||
|
||||
tickSubdivide(count: number): Axis;
|
||||
tickSize(major?: number, minor?: number, end?: number): Axis;
|
||||
tickFormat(formatter: (value: any) => string): Axis;
|
||||
|
||||
Reference in New Issue
Block a user