add missing axis parameter to flot tickFormatter

The tickFormatter entry for a flot axis definition now has the optional
axis argument available.
This commit is contained in:
Michael C. Bazarewsky
2015-03-05 16:10:25 -05:00
parent 69bdfb0884
commit 2bb37c8f95
+1 -1
View File
@@ -107,7 +107,7 @@ declare module jquery.flot {
ticks?: any; // null or number or ticks array or (fn: axis -> ticks array)
tickSize?: any; // number or array
minTickSize?: any; // number or array
tickFormatter?: (t: number) => string; // (fn: number, object -> string) or string
tickFormatter?: (t: number, a?: axis) => string; // (fn: number, object -> string) or string
tickDecimals?: number;
labelWidth?: number;