Wizard: Remove aspect ratio for chart

This removes the aspect ratio for chart and sets `maintainAspectRatio` to false.

The aspect ratio was causing problems with the annotation plugin, rendering the currentDate annotation line in a wrong place for some windows sizes.
This commit is contained in:
regexowl 2024-02-09 16:15:50 +01:00 committed by Lucas Garfield
parent 948f8ae3ab
commit d26cecdedb

View file

@ -82,8 +82,7 @@ export const chartMajorVersionCfg = {
},
},
responsive: true,
maintainAspectRatio: true,
aspectRatio: 1 | 5,
maintainAspectRatio: false,
plugins: {
tooltip: {
enabled: false,