Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added cubicInterpolationMode and changed fill enum #6132

Merged
merged 10 commits into from
Apr 8, 2019
3 changes: 2 additions & 1 deletion docs/configuration/elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ Global line options: `Chart.defaults.global.elements.line`.
| `borderDashOffset` | `number` | `0.0` | Line dash offset. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset).
| `borderJoinStyle` | `string` | `'miter'` | Line join style. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin).
| `capBezierPoints` | `boolean` | `true` | `true` to keep Bézier control inside the chart, `false` for no restriction.
| `fill` | <code>boolean&#124;string</code> | `true` | Fill location: `'zero'`, `'top'`, `'bottom'`, `true` (eq. `'zero'`) or `false` (no fill).
| `cubicInterpolationMode` | `string` | `''` | Interpolation mode to apply. [See more...](../charts/line.md#cubicinterpolationmode)
simonbrunel marked this conversation as resolved.
Show resolved Hide resolved
| `fill` | <code>boolean&#124;string</code> | `true` | Fill location: `'origin`, `'nofill'`, `'start'`, `'end'`, `true` (eq. `'origin'`) or `false` (no fill). [See more...](../charts/area.md#filling-modes)
benmccann marked this conversation as resolved.
Show resolved Hide resolved
| `stepped` | `boolean` | `false` | `true` to show the line as a stepped line (`tension` will be ignored).

## Rectangle Configuration
Expand Down