mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-23 11:50:15 +08:00
Add support for d3's tickPadding and tickValues functions.
This commit is contained in:
Vendored
+10
@@ -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