Add support for d3's tickPadding and tickValues functions.

This commit is contained in:
Michael Miller
2013-08-15 04:49:00 -04:00
parent 8e78ccbe08
commit 79af0ec053

10
d3/d3.d.ts vendored
View File

@@ -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;