Skip to content

Commit

Permalink
Fixes issue chartjs#3490: Tick documentation is missing autoSkipPadding
Browse files Browse the repository at this point in the history
Adding a single line to the docs to document autoSkipPadding.
  • Loading branch information
bretjb authored and etimberg committed Oct 25, 2016
1 parent 7457ab7 commit 59fcd15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/02-Scales.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 59fcd15

Please sign in to comment.