Set fixed height for chart and disable aspect ratio maintenance
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-04-05 15:21:36 +02:00
parent 20a47ca6b6
commit c8156ea47e

View File

@ -79,6 +79,8 @@
})
},
options: {
maintainAspectRatio: false,
scales: {
x: {
type: "time",
@ -105,5 +107,5 @@
</script>
<div>
<canvas bind:this={canvas}></canvas>
<canvas height="500" bind:this={canvas}></canvas>
</div>