]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Clarification: barPercentage vs categoryPercentage (#8138)
authorLeeLenaleee <39033624+LeeLenaleee@users.noreply.github.com>
Sat, 5 Dec 2020 15:55:19 +0000 (16:55 +0100)
committerGitHub <noreply@github.com>
Sat, 5 Dec 2020 15:55:19 +0000 (17:55 +0200)
Clarification of the docs to make it little less confusing after seeing the .1 hopefully.
Comes from #8137

docs/docs/charts/bar.mdx

index b52b5d09109746e5a4d8395dbdce9dfe857e85ef..2a7dc061ebcc55356c2ffe271506e1788b7ceea4 100644 (file)
@@ -255,9 +255,9 @@ Sample:    |==============|
 
 // categoryPercentage: 0.5
 // barPercentage: 1.0
-Bar:            |1.||1.|
-Category:       |  .5  |
-Sample:     |==============|
+Bar:             |1.0||1.0|
+Category:        |   .5   |
+Sample:     |==================|
 ```
 
 ## Data Structure