]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Update radial linear scale docs 2664/head
authorEvert Timberg <evert.timberg+github@gmail.com>
Sun, 29 May 2016 14:31:58 +0000 (10:31 -0400)
committerEvert Timberg <evert.timberg+github@gmail.com>
Sun, 29 May 2016 14:31:58 +0000 (10:31 -0400)
docs/02-Scales.md

index a5b1f5260d9e9bab08a32e8f80ed7dfa18d0e397..73ff651c376c29e5f73e1d0ae38c0123155eed89 100644 (file)
@@ -340,8 +340,15 @@ Name | Type | Default | Description
 backdropColor | Color | 'rgba(255, 255, 255, 0.75)' | Color of label backdrops
 backdropPaddingX | Number | 2 | Horizontal padding of label backdrop
 backdropPaddingY | Number | 2 | Vertical padding of label backdrop
+beginAtZero | Boolean | - | if true, scale will inclulde 0 if it is not already included.
+min | Number | - | User defined minimum number for the scale, overrides minimum value from data.
+max | Number | - | User defined maximum number for the scale, overrides maximum value from data.
 maxTicksLimit | Number | 11 | Maximum number of ticks and gridlines to show. If not defined, it will limit to 11 ticks but will show all gridlines.
 showLabelBackdrop | Boolean | true | If true, draw a background behind the tick labels
+stepSize | Number | - | User defined fixed step size for the scale. If set, the scale ticks will be enumerated by multiple of stepSize, having one tick per increment. If not set, the ticks are labeled automatically using the nice numbers algorithm.
+stepSize | Number | - | if defined, it can be used along with the min and the max to give a custom number of steps. See the example below.
+suggestedMax | Number | - | User defined maximum number for the scale, overrides maximum value *except for if* it is lower than the maximum value.
+suggestedMin | Number | - | User defined minimum number for the scale, overrides minimum value *except for if* it is higher than the minimum value.
 
 ### Update Default Scale config