mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Merge branch 'saintmalik-fix-url-bug'
This commit is contained in:
commit
814fc4b306
@ -2,7 +2,7 @@
|
||||
title: Area Chart
|
||||
---
|
||||
|
||||
Both [line](line.md) and [radar](radar.md) charts support a `fill` option on the dataset object which can be used to create space between two datasets or a dataset and a boundary, i.e. the scale `origin`, `start,` or `end` (see [filling modes](#filling-modes)).
|
||||
Both [line](./line.mdx) and [radar](./radar.mdx) charts support a `fill` option on the dataset object which can be used to create space between two datasets or a dataset and a boundary, i.e. the scale `origin`, `start,` or `end` (see [filling modes](#filling-modes)).
|
||||
|
||||
> **Note:** this feature is implemented by the [`filler` plugin](https://github.com/chartjs/Chart.js/blob/master/src/plugins/plugin.filler.js).
|
||||
|
||||
|
@ -35,7 +35,7 @@ var scatterChart = new Chart(ctx, {
|
||||
|
||||
## Dataset Properties
|
||||
|
||||
The scatter chart supports all of the same properties as the [line chart](./line.md#dataset-properties).
|
||||
The scatter chart supports all of the same properties as the [line chart](./charts/line.mdx#dataset-properties).
|
||||
|
||||
## Data Structure
|
||||
|
||||
|
@ -64,7 +64,7 @@ Global line options: `Chart.defaults.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.
|
||||
| `cubicInterpolationMode` | `string` | `'default'` | Interpolation mode to apply. [See more...](../charts/line.md#cubicinterpolationmode)
|
||||
| `cubicInterpolationMode` | `string` | `'default'` | Interpolation mode to apply. [See more...](./charts/line.mdx/#cubicinterpolationmode)
|
||||
| `fill` | `boolean`\|`string` | `true` | How to fill the area under the line. See [area charts](../charts/area.md#filling-modes).
|
||||
| `stepped` | `boolean` | `false` | `true` to show the line as a stepped line (`tension` will be ignored).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user