]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix links to fonts.md (#7623)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Wed, 15 Jul 2020 22:11:16 +0000 (01:11 +0300)
committerGitHub <noreply@github.com>
Wed, 15 Jul 2020 22:11:16 +0000 (18:11 -0400)
docs/docs/axes/labelling.md
docs/docs/axes/radial/linear.md
docs/docs/axes/styling.md
docs/docs/configuration/title.md
docs/docs/configuration/tooltip.md

index 12597766745db23374136c2ea9cfede272c098bf..44e682bbb060cdc191a147f2fafd650894ac2dc3 100644 (file)
@@ -13,7 +13,7 @@ The scale label configuration is nested under the scale configuration in the `sc
 | `display` | `boolean` | `false` | If true, display the axis title.
 | `align` | `string` | `'center'` | Alignment of the axis title. Possible options are `'start'`, `'center'` and `'end'`
 | `labelString` | `string` | `''` | The text for the title. (i.e. "# of People" or "Response Choices").
-| `font` | `Font` | `defaults.font` | See [Fonts](fonts.md)
+| `font` | `Font` | `defaults.font` | See [Fonts](../general/fonts.md)
 | `padding` | `number`\|`object` | `4` | Padding to apply around scale labels. Only `top` and `bottom` are implemented.
 
 ## Creating Custom Tick Formats
index 05aaee292cb46e287de0db6f760bdb9a98e972a2..d5cd6e2dc40c9e4b7171ecd466ba0793aa435158 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](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 fced709589eed6d8e66abf0182768766216c4794..0e101eb758b862b6a52fb15f14e799ea51ec5b7f 100644 (file)
@@ -44,7 +44,7 @@ The tick configuration is nested under the scale configuration in the `ticks` ke
 | ---- | ---- | :-------------------------------: | ------- | -----------
 | `callback` | `function` | | | Returns the string representation of the tick value as it should be displayed on the chart. See [callback](../axes/labelling.md#creating-custom-tick-formats).
 | `display` | `boolean` | | `true` | If true, show tick labels.
-| `font` | `Font` | Yes | `defaults.font` | See [Fonts](fonts.md)
+| `font` | `Font` | Yes | `defaults.font` | See [Fonts](../general/fonts.md)
 | `major` | `object` | | `{}` | [Major ticks configuration](#major-tick-configuration).
 | `padding` | `number` | | `0` | Sets the offset of the tick labels from the axis
 | `reverse` | `boolean` | | `false` | Reverses order of tick labels.
index d1d5d6123a8f4a5cfae6fb48b2471b77e8ef89bc..9601ef1d59c623c971a317f0516163eeed920c71 100644 (file)
@@ -13,7 +13,7 @@ The title configuration is passed into the `options.title` namespace. The global
 | `align` | `string` | `'center'` | Alignment of the title. [more...](#align)
 | `display` | `boolean` | `false` | Is the title shown?
 | `position` | `string` | `'top'` | Position of title. [more...](#position)
-| `font` | `Font` | `defaults.font` | See [Fonts](fonts.md)
+| `font` | `Font` | `defaults.font` | See [Fonts](../general/fonts.md)
 | `padding` | <code>number&#124;{top: number, bottom: number}</code> | `10` | Adds padding above and below the title text if a single number is specified. It is also possible to change top and bottom padding separately.
 | `lineHeight` | <code>number&#124;string</code> | `1.2` | Height of an individual line of text. See [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height).
 | `text` | <code>string&#124;string[]</code> | `''` | Title text to display. If specified as an array, text is rendered on multiple lines.
index fcecd887e39c4c9c94618f667edfbc254fd8a3c8..6978f8d4d4379500b1deec8d2253fd75e2e4c15d 100644 (file)
@@ -17,14 +17,14 @@ The tooltip configuration is passed into the `options.tooltips` namespace. The g
 | `itemSort` | `function` | | Sort tooltip items. [more...](#sort-callback)
 | `filter` | `function` | | Filter tooltip items. [more...](#filter-callback)
 | `backgroundColor` | `Color` | `'rgba(0, 0, 0, 0.8)'` | Background color of the tooltip.
-| `titleFont` | `Font` | `{style: 'bold', color: '#fff'}` | See [Fonts](fonts.md).
+| `titleFont` | `Font` | `{style: 'bold', color: '#fff'}` | See [Fonts](../general/fonts.md).
 | `titleAlign` | `string` | `'left'` | Horizontal alignment of the title text lines. [more...](#alignment)
 | `titleSpacing` | `number` | `2` | Spacing to add to top and bottom of each title line.
 | `titleMarginBottom` | `number` | `6` | Margin to add on bottom of title section.
-| `bodyFont` | `Font` | `{color: '#fff'}` | See [Fonts](fonts.md).
+| `bodyFont` | `Font` | `{color: '#fff'}` | See [Fonts](../general/fonts.md).
 | `bodyAlign` | `string` | `'left'` | Horizontal alignment of the body text lines. [more...](#alignment)
 | `bodySpacing` | `number` | `2` | Spacing to add to top and bottom of each tooltip item.
-| `footerFont` | `Font` | `{style: 'bold', color: '#fff'}` | See [Fonts](fonts.md).
+| `footerFont` | `Font` | `{style: 'bold', color: '#fff'}` | See [Fonts](../general/fonts.md).
 | `footerAlign` | `string` | `'left'` | Horizontal alignment of the footer text lines. [more...](#alignment)
 | `footerSpacing` | `number` | `2` | Spacing to add to top and bottom of each footer line.
 | `footerMarginTop` | `number` | `6` | Margin to add before drawing the footer.