From: Mattias Lyckne Date: Mon, 21 Dec 2015 13:21:51 +0000 (+0100) Subject: Update docs X-Git-Tag: 2.0.0-beta2~12^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1810%2Fhead;p=thirdparty%2FChart.js.git Update docs --- diff --git a/docs/01-Scales.md b/docs/01-Scales.md index 5a4fcc63e..4e299e219 100644 --- a/docs/01-Scales.md +++ b/docs/01-Scales.md @@ -48,6 +48,7 @@ display | Boolean | true | If true, show the scale including gridlines, ticks, a *ticks*.suggestedMax | Number | - | User defined maximum number for the scale, overrides maximum value *except for if* it is lower than the maximum value. *ticks*.min | Number | - | User defined minimum number for the scale, overrides minimum value *ticks*.max | Number | - | User defined minimum number for the scale, overrides maximum value +*ticks*.autoSkip | Boolean | true | If true, automatically calculates how many labels that can be shown and hides labels accordingly. Turn it off to show all labels no matter what *ticks*.callback | Function | `function(value) { return '' + value; } ` | Returns the string representation of the tick value as it should be displayed on the chart. The `callback` method may be used for advanced tick customization. The following callback would display every label in scientific notation