대시보드 수정(툴팁 수정)

main
이범준 1 year ago
parent 5bc663e258
commit 937eb7a806

@ -295,8 +295,8 @@
tooltip: { tooltip: {
callbacks: { callbacks: {
label: function (context) { label: function (context) {
const label = context.labels || '', const label = context.label || '';
value = context.parsed; const value = context.parsed;
const output = ' ' + label + ' : ' + value + ' %'; const output = ' ' + label + ' : ' + value + ' %';
return output; return output;
} }
@ -343,8 +343,8 @@
tooltip: { tooltip: {
callbacks: { callbacks: {
label: function (context) { label: function (context) {
const label = context.labels || '', const label = context.label || '';
value = context.parsed; const value = context.parsed;
const output = ' ' + label + ' : ' + value + ' %'; const output = ' ' + label + ' : ' + value + ' %';
return output; return output;
} }
@ -391,8 +391,8 @@
tooltip: { tooltip: {
callbacks: { callbacks: {
label: function (context) { label: function (context) {
const label = context.labels || '', const label = context.label || '';
value = context.parsed; const value = context.parsed;
const output = ' ' + label + ' : ' + value + ' %'; const output = ' ' + label + ' : ' + value + ' %';
return output; return output;
} }

@ -57,7 +57,6 @@
.wrapper-dashboard .card { .wrapper-dashboard .card {
height: 100%; height: 100%;
font-size: 12px;
font-weight: bold; font-weight: bold;
} }
.wrapper-dashboard .card-header { .wrapper-dashboard .card-header {

Loading…
Cancel
Save