]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
docs: Fix typos (#10809)
authorRich <55961065+rvrvrv@users.noreply.github.com>
Wed, 19 Oct 2022 12:02:20 +0000 (07:02 -0500)
committerGitHub <noreply@github.com>
Wed, 19 Oct 2022 12:02:20 +0000 (14:02 +0200)
* Spell "corresponding" correctly

* Spell "circle" correctly

* Spell "configuration" correctly

docs/configuration/legend.md
docs/samples/line/point-styling.md
docs/samples/scale-options/grid.md

index 3438c16c0d51be35a592d6f8bd9449e389e66514..cda19e885f92804cadc18e33409a6d9eacb11491 100644 (file)
@@ -67,7 +67,7 @@ Namespace: `options.plugins.legend.labels`
 | `textAlign` | `string` | `'center'` | Horizontal alignment of the label text. Options are: `'left'`, `'right'` or `'center'`.
 | `usePointStyle` | `boolean` | `false` | Label style will match corresponding point style (size is based on pointStyleWidth or the minimum value between boxWidth and font.size).
 | `pointStyleWidth` | `number` | `null` | If `usePointStyle` is true, the width of the point style used for the legend.
-| `useBorderRadius` | `boolean` | `false` | Label borderRadius will match coresponding borderRadius.
+| `useBorderRadius` | `boolean` | `false` | Label borderRadius will match corresponding borderRadius.
 | `borderRadius` | `number` | `undefined` | Override the borderRadius to use.
 
 ## Legend Title Configuration
index 717a589a4bd325ed1574c636142ad6952e3d1bd1..22f63b3f10a52f286b6bf6e303e35493fd4a4cc5 100644 (file)
@@ -7,7 +7,7 @@ const actions = [
     name: 'pointStyle: circle (default)',
     handler: (chart) => {
       chart.data.datasets.forEach(dataset => {
-        dataset.pointStyle = 'cirlce';
+        dataset.pointStyle = 'circle';
       });
       chart.update();
     }
index ff56f2cc8c82849d201f2a52e96bae818c638001..487a1659c057d97b855639e4233cdc6d6de84b09 100644 (file)
@@ -42,7 +42,7 @@ const data = {
 
 // <block:config:0>
 // Change these settings to change the display for different parts of the X axis
-// grid configuiration
+// grid configuration
 const DISPLAY = true;
 const BORDER = true;
 const CHART_AREA = true;