From c688c2f5430de350f27fda0081c6f1d83c0055b8 Mon Sep 17 00:00:00 2001 From: SaintMalik <37118134+saintmalik@users.noreply.github.com> Date: Sun, 18 Oct 2020 19:30:05 +0100 Subject: [PATCH] Fix broken urls in docs (#7912) --- docs/docs/axes/radial/linear.md | 2 +- docs/docs/developers/updates.md | 2 +- docs/docs/general/performance.md | 4 ++-- docs/docs/getting-started/v3-migration.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/docs/axes/radial/linear.md b/docs/docs/axes/radial/linear.md index 8ca6a9316..39536bfee 100644 --- a/docs/docs/axes/radial/linear.md +++ b/docs/docs/axes/radial/linear.md @@ -133,7 +133,7 @@ The following options are used to configure the point labels that are shown on t | ---- | ---- | ------- | ------- | ----------- | `display` | `boolean` | | `true` | if true, point labels are shown. | `callback` | `function` | | | Callback function to transform data labels to point labels. The default implementation simply returns the current string. -| `font` | `Font` | Yes | `defaults.font` | See [Fonts](../general/fonts.md) +| `font` | `Font` | Yes | `defaults.font` | See [Fonts](./general/fonts.md) The scriptable context is the same as for the [Angle Line Options](#angle-line-options). diff --git a/docs/docs/developers/updates.md b/docs/docs/developers/updates.md index d698d4808..bbb3f975b 100644 --- a/docs/docs/developers/updates.md +++ b/docs/docs/developers/updates.md @@ -95,7 +95,7 @@ function updateScale(chart) { } ``` -Code sample for updating options can be found in [toggle-scale-type.html](../../samples/scales/toggle-scale-type.html). +Code sample for updating options can be found in [toggle-scale-type.html](./../../samples/latest/scales/toggle-scale-type.html). ## Preventing Animations diff --git a/docs/docs/general/performance.md b/docs/docs/general/performance.md index d244534a5..13a239092 100644 --- a/docs/docs/general/performance.md +++ b/docs/docs/general/performance.md @@ -26,11 +26,11 @@ Line charts are able to do [automatic data decimation during draw](#automatic-da ### Rotation -[Specify a rotation value](../axes/cartesian/index.md#tick-configuration) by setting `minRotation` and `maxRotation` to the same value, which avoids the chart from having to automatically determine a value to use. +[Specify a rotation value](./axes/cartesian/index.mdx#tick-configuration) by setting `minRotation` and `maxRotation` to the same value, which avoids the chart from having to automatically determine a value to use. ### Sampling -Set the [`ticks.sampleSize`](../axes/cartesian/index.md#tick-configuration) option. This will determine how large your labels are by looking at only a subset of them in order to render axes more quickly. This works best if there is not a large variance in the size of your labels. +Set the [`ticks.sampleSize`](./axes/cartesian/index.mdx#tick-configuration) option. This will determine how large your labels are by looking at only a subset of them in order to render axes more quickly. This works best if there is not a large variance in the size of your labels. ## Disable Animations diff --git a/docs/docs/getting-started/v3-migration.md b/docs/docs/getting-started/v3-migration.md index fe24148de..d2cfb6f19 100644 --- a/docs/docs/getting-started/v3-migration.md +++ b/docs/docs/getting-started/v3-migration.md @@ -51,7 +51,7 @@ const chart = new Chart(ctx, { ### Chart types -* `horizontalBar` chart type was removed. Horizontal bar charts can be configured using the new [`indexAxis`](../charts/bar.md#general) option +* `horizontalBar` chart type was removed. Horizontal bar charts can be configured using the new [`indexAxis`](./charts/bar.mdx#general) option ### Options -- 2.47.2