Skip to content

Commit

Permalink
Merge pull request dbarzin#363 from dbarzin/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
dbarzin authored May 2, 2023
2 parents b1d5079 + 26cc737 commit 6d5d69b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions resources/views/home.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
{!! trans("panel.treemap") !!}
</div>
<div class="card-body">
<div style="width: 1000px; height: 500px;">
<div style="width: 1050px; height: 500px;">
<canvas id="treemap_chart_div"></canvas>
</div>
</div>
Expand Down Expand Up @@ -456,17 +456,17 @@
var dataset = data['datasets'];
return dataset[tooltipItem['datasetIndex']]['label']+': '+dataset[tooltipItem['datasetIndex']]['value'];
},
// afterLabel: function(tooltipItem, data) {
// var dataset = data['datasets'];
// var percent =
// return '(' + percent + '%)';
// return dataset[tooltipItem['datasetIndex']]['value'];
// }
},
},
},
scales: {
yAxes: [{ barPercentage: 1.0 }],
},
yAxes: [{
barPercentage: 1.0,
beginAtZero: true,
steps: 10,
stepValue: 5,
max: 100
}],
},
responsive: true,
maintainAspectRatio: false,
animation: {
Expand Down

0 comments on commit 6d5d69b

Please sign in to comment.