chore(client): tweak ui

This commit is contained in:
syuilo
2022-06-30 20:15:14 +09:00
parent eac31eb323
commit ed41d542bb
4 changed files with 23 additions and 22 deletions

View File

@@ -64,21 +64,21 @@ onMounted(() => {
labels: props.data.map(x => x.name),
datasets: [{
backgroundColor: props.data.map(x => x.color),
borderWidth: 0,
spacing: 4,
hoverOffset: 4,
data: props.data.map(x => x.value),
}],
},
options: {
layout: {
padding: {
left: 8,
right: 8,
top: 8,
bottom: 8,
left: 16,
right: 16,
top: 16,
bottom: 16,
},
},
interaction: {
intersect: false,
},
plugins: {
legend: {
display: false,