]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
change namespace and chart types that override legend defaults (#9791)
authorJacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Mon, 25 Oct 2021 16:48:51 +0000 (18:48 +0200)
committerGitHub <noreply@github.com>
Mon, 25 Oct 2021 16:48:51 +0000 (19:48 +0300)
docs/configuration/legend.md

index 151a96911cb01895ef453d39ad036ce30a3cb757..ece5ceb7037ab3dddd1adf847c28436bcfaf2563 100644 (file)
@@ -7,7 +7,7 @@ The chart legend displays data about the datasets that are appearing on the char
 Namespace: `options.plugins.legend`, the global options for the chart legend is defined in `Chart.defaults.plugins.legend`.
 
 :::warning
-The bubble, doughnut, pie, and polar area charts override the tooltip defaults. To change the overrides for those chart types, the options are defined in `Chart.overrides[type].plugins.tooltip`. 
+The doughnut, pie, and polar area charts override the legend defaults. To change the overrides for those chart types, the options are defined in `Chart.overrides[type].plugins.legend`.
 :::
 
 | Name | Type | Default | Description