]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix broken urls in docs (#7912)
authorSaintMalik <37118134+saintmalik@users.noreply.github.com>
Sun, 18 Oct 2020 18:30:05 +0000 (19:30 +0100)
committerGitHub <noreply@github.com>
Sun, 18 Oct 2020 18:30:05 +0000 (21:30 +0300)
docs/docs/axes/radial/linear.md
docs/docs/developers/updates.md
docs/docs/general/performance.md
docs/docs/getting-started/v3-migration.md

index 8ca6a9316580b1fa6ab6a8daa276ca21d2a40d2f..39536bfee2807b40dd0a6908da141e50335692bd 100644 (file)
@@ -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).
 
index d698d480886698a4b715248310e03f2d79bc6c1f..bbb3f975b7b9a791d863355bc8fa5f09752af9d2 100644 (file)
@@ -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
 
index d244534a57b2f8bbc6727f75a5ddf313c37741cc..13a239092beb08b0e8b2e0eaa5623cecfcda5056 100644 (file)
@@ -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
 
index fe24148de665cb4b663f9a4f125a596067c171be..d2cfb6f1926653d9c925604bbcc7a29e19d12758 100644 (file)
@@ -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