Skip to content

Commit ef25cc4

Browse files
committed
fix(Dashboard): scales.[x/y]Axes.barPercentage is deprecated, use dataset.barPercentage instead
1 parent b9626a8 commit ef25cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/Dashboard/Dashboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ const cardChartData4 = {
200200
backgroundColor: 'rgba(255,255,255,.3)',
201201
borderColor: 'transparent',
202202
data: [78, 81, 80, 45, 34, 12, 40, 75, 34, 89, 32, 68, 54, 72, 18, 98],
203+
barPercentage: 0.6,
203204
},
204205
],
205206
};
@@ -217,7 +218,6 @@ const cardChartOpts4 = {
217218
xAxes: [
218219
{
219220
display: false,
220-
barPercentage: 0.6,
221221
}],
222222
yAxes: [
223223
{

0 commit comments

Comments
 (0)