mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Merge pull request #862 from michaelgmiller/master
Add support for tickPadding, tickValues, and round
This commit is contained in:
Vendored
+12
@@ -505,6 +505,8 @@ declare module D3 {
|
||||
flush(): void;
|
||||
}
|
||||
transition(): Transition.Transition;
|
||||
|
||||
round(x: number, n: number): number;
|
||||
}
|
||||
|
||||
export interface Dispatch {
|
||||
@@ -1555,6 +1557,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