From 2e986852b577f4f6211d86b7a3aa291c69497412 Mon Sep 17 00:00:00 2001 From: Saintmalik Date: Sat, 17 Oct 2020 00:01:52 +0000 Subject: [PATCH] Fix broken url in docs --- docs/docs/charts/area.md | 2 +- docs/docs/charts/scatter.md | 2 +- docs/docs/configuration/elements.md | 2 +- docs/docs/index.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/charts/area.md b/docs/docs/charts/area.md index 737f37370..4ec8edb75 100644 --- a/docs/docs/charts/area.md +++ b/docs/docs/charts/area.md @@ -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). diff --git a/docs/docs/charts/scatter.md b/docs/docs/charts/scatter.md index 614dfffba..e42d63696 100644 --- a/docs/docs/charts/scatter.md +++ b/docs/docs/charts/scatter.md @@ -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#dataset-properties). ## Data Structure diff --git a/docs/docs/configuration/elements.md b/docs/docs/configuration/elements.md index de4eea45d..bb07b7433 100644 --- a/docs/docs/configuration/elements.md +++ b/docs/docs/configuration/elements.md @@ -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). diff --git a/docs/docs/index.md b/docs/docs/index.md index e43ea4a2d..7b141aa90 100644 --- a/docs/docs/index.md +++ b/docs/docs/index.md @@ -57,7 +57,7 @@ var myChart = new Chart(ctx, { ## Contributing -Before submitting an issue or a pull request to the project, please take a moment to look over the [contributing guidelines](./developers/contributing.md) first. +Before submitting an issue or a pull request to the project, please take a moment to look over the [contributing guidelines](./docs/developers/contributing.md) first. For support using Chart.js, please post questions with the [`chartjs` tag on Stack Overflow](https://stackoverflow.com/questions/tagged/chartjs). -- 2.47.2