From 4d48ab510986210dbf92c1fc6abfc980789d4719 Mon Sep 17 00:00:00 2001 From: wcatron Date: Tue, 24 Nov 2015 02:28:15 -0500 Subject: [PATCH] Add suggested min and max to documentation. --- docs/01-Scales.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/01-Scales.md b/docs/01-Scales.md index 292fa43f4..04fa5ec4c 100644 --- a/docs/01-Scales.md +++ b/docs/01-Scales.md @@ -44,6 +44,8 @@ ticks | Array | | Settings for the ticks along the axis. *ticks*.padding | Number | 10 | *ticks*.reverse | Boolean | false | *ticks*.show | Boolean | true | +*ticks*.suggestedMin | Number | - | User defined minimum number for the scale, overrides minimum value *except for if* it is higher than the minimum value. +*ticks*.suggestedMax | Number | - | User defined maximum number for the scale, overrides maximum value *except for if* it is lower than the maximum value. *ticks*.callback | Function | `function(value) { return '' + value; } ` | The `userCallback` method may be used for advanced tick customization. The following callback would display every label in scientific notation -- 2.47.2