]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
coppied to wrong place in file, backgroundColor should be in the data… (#8081)
authorLeeLenaleee <39033624+LeeLenaleee@users.noreply.github.com>
Thu, 19 Nov 2020 20:33:59 +0000 (21:33 +0100)
committerGitHub <noreply@github.com>
Thu, 19 Nov 2020 20:33:59 +0000 (15:33 -0500)
* coppied to wrong place in file, backgroundColor should be in the dataset and not after the datasets array
* fixed indenting and color to be more in line with bublle and pie color

docs/docs/charts/scatter.mdx

index 5e4277fd56d0cde79006d539c57c5468d7bb05fd..1df75c20d6f04bf243399df72d34396eedfb3998 100644 (file)
@@ -27,9 +27,9 @@ function example() {
                 }, {
                     x: 0.5,
                     y: 5.5
-                }]
+                }],
+                backgroundColor: 'rgb(255, 99, 132)'
             }],
-            backgroundColor: 'red'
         },
         options: {
             scales: {