From 79af0ec053efb112142af22daa2159b4ae100675 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Thu, 15 Aug 2013 04:49:00 -0400 Subject: [PATCH] Add support for d3's tickPadding and tickValues functions. --- d3/d3.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/d3/d3.d.ts b/d3/d3.d.ts index 67dca5fec..2c82b1863 100644 --- a/d3/d3.d.ts +++ b/d3/d3.d.ts @@ -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;