Skip to content

Commit

Permalink
Fix PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
bartdeslagmulder committed Nov 1, 2018
1 parent 194d4db commit cb54ab4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions docs/axes/cartesian/time.md
Expand Up @@ -134,16 +134,16 @@ var chart = new Chart(ctx, {

### Scale Bounds

The `bounds` property controls the scale boundary strategy (bypassed by min/max time options):
The `bounds` property controls the scale boundary strategy (bypassed by min/max time options).

* `'data'`: make sure data are fully visible, labels outside are removed
* `'ticks'`: make sure ticks are fully visible, data outside are truncated

### Ticks Source

The `ticks.source` property controls the ticks generation:
The `ticks.source` property controls the ticks generation.

* `'auto'`: generates "optimal" ticks based on scale size and time options.
* `'auto'`: generates "optimal" ticks based on scale size and time options
* `'data'`: generates ticks from data (including labels from data `{t|x|y}` objects)
* `'labels'`: generates ticks from user given `data.labels` values ONLY

Expand Down
6 changes: 3 additions & 3 deletions docs/charts/line.md
Expand Up @@ -74,9 +74,9 @@ All point* properties can be specified as an array. If these are set to an array
| `steppedLine` | `Boolean/String` | If the line is shown as a stepped line. [more...](#stepped-line)

### cubicInterpolationMode
The following interpolation modes are supported:
The following interpolation modes are supported.
* 'default'
* 'monotone'.
* 'monotone'

The 'default' algorithm uses a custom weighted cubic interpolation, which produces pleasant curves for all types of datasets.

Expand All @@ -85,7 +85,7 @@ The 'monotone' algorithm is more suited to `y = f(x)` datasets : it preserves mo
If left untouched (`undefined`), the global `options.elements.line.cubicInterpolationMode` property is used.

### Stepped Line
The following values are supported for `steppedLine`:
The following values are supported for `steppedLine`.
* `false`: No Step Interpolation (default)
* `true`: Step-before Interpolation (eq. 'before')
* `'before'`: Step-before Interpolation
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/legend.md
Expand Up @@ -7,7 +7,7 @@ The legend configuration is passed into the `options.legend` namespace. The glob

| Name | Type | Default | Description
| -----| ---- | --------| -----------
| `display` | `Boolean` | `true` | Is the legend shown.
| `display` | `Boolean` | `true` | Is the legend shown?
| `position` | `String` | `'top'` | Position of the legend. [more...](#position)
| `fullWidth` | `Boolean` | `true` | Marks that this box should take the full width of the canvas (pushing down other boxes). This is unlikely to need to be changed in day-to-day use.
| `onClick` | `Function` | | A callback that is called when a click event is registered on a label item.
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration/title.md
Expand Up @@ -7,7 +7,7 @@ The title configuration is passed into the `options.title` namespace. The global

| Name | Type | Default | Description
| -----| ---- | --------| -----------
| `display` | `Boolean` | `false` | Is the title shown.
| `display` | `Boolean` | `false` | Is the title shown?
| `position` | `String` | `'top'` | Position of title. [more...](#position)
| `fontSize` | `Number` | `12` | Font size.
| `fontFamily` | `String` | `"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif"` | Font family for the title text.
Expand Down
6 changes: 3 additions & 3 deletions docs/configuration/tooltip.md
Expand Up @@ -6,10 +6,10 @@ The tooltip configuration is passed into the `options.tooltips` namespace. The g

| Name | Type | Default | Description
| -----| ---- | --------| -----------
| `enabled` | `Boolean` | `true` | Are on-canvas tooltips enabled.
| `enabled` | `Boolean` | `true` | Are on-canvas tooltips enabled?
| `custom` | `Function` | `null` | See [custom tooltip](#external-custom-tooltips) section.
| `mode` | `String` | `'nearest'` | Sets which elements appear in the tooltip. [more...](../general/interactions/modes.md#interaction-modes).
| `intersect` | `Boolean` | `true` | if true, the tooltip mode applies only when the mouse position intersects with an element. If false, the mode will be applied at all times.
| `intersect` | `Boolean` | `true` | If true, the tooltip mode applies only when the mouse position intersects with an element. If false, the mode will be applied at all times.
| `position` | `String` | `'average'` | The mode for positioning the tooltip. [more...](#position-modes)
| `callbacks` | `Object` | | See the [callbacks section](#tooltip-callbacks).
| `itemSort` | `Function` | | Sort tooltip items. [more...](#sort-callback)
Expand Down Expand Up @@ -38,7 +38,7 @@ The tooltip configuration is passed into the `options.tooltips` namespace. The g
| `caretSize` | `Number` | `5` | Size, in px, of the tooltip arrow.
| `cornerRadius` | `Number` | `6` | Radius of tooltip corner curves.
| `multiKeyBackground` | `Color` | `'#fff'` | Color to draw behind the colored boxes when multiple items are in the tooltip.
| `displayColors` | `Boolean` | `true` | Ff true, color boxes are shown in the tooltip.
| `displayColors` | `Boolean` | `true` | If true, color boxes are shown in the tooltip.
| `borderColor` | `Color` | `'rgba(0,0,0,0)'` | Color of the border.
| `borderWidth` | `Number` | `0` | Size of the border.

Expand Down

0 comments on commit cb54ab4

Please sign in to comment.