From: LeeLenaleee <39033624+LeeLenaleee@users.noreply.github.com>
Date: Thu, 19 Nov 2020 13:25:39 +0000 (+0100)
Subject: made scatter chart a lot better readable, removed unnecesarry notes (#8080)
X-Git-Tag: v3.0.0-beta.7~27
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6928b23a508cd3899b27db809cc4b070b1ab7805;p=thirdparty%2FChart.js.git
made scatter chart a lot better readable, removed unnecesarry notes (#8080)
---
diff --git a/docs/docs/charts/area.md b/docs/docs/charts/area.md
index 477ece36f..c535b1b10 100644
--- a/docs/docs/charts/area.md
+++ b/docs/docs/charts/area.md
@@ -10,18 +10,14 @@ Both [line](./line.mdx) and [radar](./radar.mdx) charts support a `fill` option
| Mode | Type | Values |
| :--- | :--- | :--- |
-| Absolute dataset index 1 | `number` | `1`, `2`, `3`, ... |
-| Relative dataset index 1 | `string` | `'-1'`, `'-2'`, `'+1'`, ... |
-| Boundary 2 | `string` | `'start'`, `'end'`, `'origin'` |
-| Disabled 3 | `boolean` | `false` |
+| Absolute dataset index | `number` | `1`, `2`, `3`, ... |
+| Relative dataset index | `string` | `'-1'`, `'-2'`, `'+1'`, ... |
+| Boundary | `string` | `'start'`, `'end'`, `'origin'` |
+| Disabled 1 | `boolean` | `false` |
| Stacked value below 4 | `string` | `'stack'` |
-| Axis value 5 | `object` | `{ value: number; }` |
+| Axis value | `object` | `{ value: number; }` |
-> 1 dataset filling modes have been introduced in version 2.6.0
-> 2 prior version 2.6.0, boundary values was `'zero'`, `'top'`, `'bottom'` (not supported anymore)
-> 3 for backward compatibility, `fill: true` (default) is equivalent to `fill: 'origin'`
-> 4 stack mode has been introduced in version 3.0.0
-> 5 axis value mode has been introduced in version 3.0.0
+> 1 for backward compatibility, `fill: true` (default) is equivalent to `fill: 'origin'`
**Example**
diff --git a/docs/docs/charts/scatter.mdx b/docs/docs/charts/scatter.mdx
index 7d091f7d1..5e4277fd5 100644
--- a/docs/docs/charts/scatter.mdx
+++ b/docs/docs/charts/scatter.mdx
@@ -24,8 +24,12 @@ function example() {
}, {
x: 10,
y: 5
+ }, {
+ x: 0.5,
+ y: 5.5
}]
- }]
+ }],
+ backgroundColor: 'red'
},
options: {
scales: {