mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Fix broken urls in docs (#7912)
This commit is contained in:
parent
ac68593873
commit
c688c2f543
@ -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).
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user