Fix broken urls in docs (#7912)

This commit is contained in:
SaintMalik 2020-10-18 19:30:05 +01:00 committed by GitHub
parent ac68593873
commit c688c2f543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View 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).

View 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

View 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

View 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