File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,6 @@ export default {
3939 data[score .name ].value = score .value ;
4040 });
4141
42- if (Math .round (data .player .value ) === data .avg .value || Math .round (data .player .value ) === data .best .value ) {
43- data .barWidth = true ;
44- }
45-
4642 return data;
4743 },
4844 options () {
@@ -65,7 +61,6 @@ export default {
6561 },
6662 }],
6763 yAxes: [{
68- barPercentage: 0.7 ,
6964 gridLines: {
7065 display: false ,
7166 },
@@ -88,7 +83,7 @@ export default {
8883 return {
8984 datasets: [
9085 {
91- barPercentage: this . chartData . barWidth ? 0.75 : 0.9 ,
86+ barPercentage: 0.75 ,
9287 label: ' You' ,
9388 backgroundColor: this .backgroundColors [this .chartData .player .order ],
9489 data: [this .chartData .player .value ],
@@ -99,12 +94,14 @@ export default {
9994 backgroundColor: this .backgroundColors [this .chartData .avg .order ],
10095 data: [this .chartData .avg .value ],
10196 order: this .chartData .avg .order ,
97+ barPercentage: 0.7 ,
10298 },
10399 {
104100 label: ' Best' ,
105101 backgroundColor: this .backgroundColors [this .chartData .best .order ],
106102 data: [this .chartData .best .value ],
107103 order: this .chartData .best .order ,
104+ barPercentage: 0.7 ,
108105 },
109106 ],
110107 };
You can’t perform that action at this time.
0 commit comments