Code format

This commit is contained in:
2024-11-08 10:36:24 +01:00
parent 31c7b31e65
commit fc688bf4bc
20 changed files with 230 additions and 206 deletions

View File

@@ -90,49 +90,51 @@
<template>
<div class="flex flex-col gap-6 p-6 bg-gray-900 min-h-screen">
<div class="bg-gray-800 rounded-lg p-6 shadow-lg border border-gray-700">
<Line {data}
<Line
{data}
options={{
responsive: true,
maintainAspectRatio: false,
plugins: {
legend: {
position: 'top',
position: "top",
labels: {
padding: 20,
color: 'rgb(229, 231, 235)',
color: "rgb(229, 231, 235)",
font: {
size: 12,
family: "'Nunito', sans-serif"
}
}
}
family: "'Nunito', sans-serif",
},
},
},
},
scales: {
y: {
grid: {
color: 'rgba(75, 85, 99, 0.2)'
color: "rgba(75, 85, 99, 0.2)",
},
ticks: {
color: 'rgb(229, 231, 235)',
color: "rgb(229, 231, 235)",
font: {
family: "'Nunito', sans-serif"
}
}
family: "'Nunito', sans-serif",
},
},
},
x: {
grid: {
color: 'rgba(75, 85, 99, 0.2)'
color: "rgba(75, 85, 99, 0.2)",
},
ticks: {
color: 'rgb(229, 231, 235)',
color: "rgb(229, 231, 235)",
font: {
family: "'Nunito', sans-serif"
}
}
}
}
family: "'Nunito', sans-serif",
},
},
},
},
}}
class="max-h-[50vh] h-[50vh]" />
class="max-h-[50vh] h-[50vh]"
/>
</div>
<div class="relative flex flex-col h-[43vh]" data-vaul-drawer-wrapper id="page">
<div class="relative overflow-x-auto shadow-md rounded-lg">