From: bret b Date: Tue, 25 Oct 2016 03:27:03 +0000 (-0500) Subject: Fixes issue #3490: Tick documentation is missing autoSkipPadding X-Git-Tag: v2.4.0~1^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=295c9db1df858df315f7b58eac4842d689cf64e1;p=thirdparty%2FChart.js.git Fixes issue #3490: Tick documentation is missing autoSkipPadding Adding a single line to the docs to document autoSkipPadding. --- diff --git a/docs/02-Scales.md b/docs/02-Scales.md index 313cec15a..df95b3179 100644 --- a/docs/02-Scales.md +++ b/docs/02-Scales.md @@ -77,6 +77,7 @@ The tick configuration is nested under the scale configuration in the `ticks` ke Name | Type | Default | Description --- | --- | --- | --- 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 +autoSkipPadding | Number | 0 | Padding between the ticks on the horizontal axis when `autoSkip` is enabled. *Note: Only applicable to horizontal scales.* callback | Function | `function(value) { return helpers.isArray(value) ? value : '' + value; }` | Returns the string representation of the tick value as it should be displayed on the chart. See [callback](#scales-creating-custom-tick-formats) section below. display | Boolean | true | If true, show the ticks. fontColor | Color | "#666" | Font color for the tick labels.