]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix dead link on reload or open in new tab (#10515)
authorJacco van den Berg <jaccoberg2281@gmail.com>
Mon, 25 Jul 2022 12:45:52 +0000 (14:45 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 12:45:52 +0000 (15:45 +0300)
* make link work in github itself

* fix dead link on reload or new tab

docs/axes/labelling.md

index 9ab75ffaba08f6cc8c56d7d5d1dde22e6cd1f6c3..5f613b6f81b2442fda614f4648cb58bbb7a94f8a 100644 (file)
@@ -31,7 +31,7 @@ The call to the method is scoped to the scale. `this` inside the method is the s
 If the callback returns `null` or `undefined` the associated grid line will be hidden.
 
 :::tip
-The [category axis](../axes/cartesian/category), which is the default x-axis for line and bar charts, uses the `index` as internal data format. For accessing the label, use `this.getLabelForValue(value)`. [API: getLabelForValue](../api/classes/scale.html#getlabelforvalue)
+The [category axis](../axes/cartesian/category), which is the default x-axis for line and bar charts, uses the `index` as internal data format. For accessing the label, use `this.getLabelForValue(value)`. [API: getLabelForValue](../api/classes/Scale.html#getlabelforvalue)
 :::
 
 In the following example, every label of the Y-axis would be displayed with a dollar sign at the front.