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:
parent
948f8ae3ab
commit
d26cecdedb
1 changed files with 1 additions and 2 deletions
|
|
@ -82,8 +82,7 @@ export const chartMajorVersionCfg = {
|
|||
},
|
||||
},
|
||||
responsive: true,
|
||||
maintainAspectRatio: true,
|
||||
aspectRatio: 1 | 5,
|
||||
maintainAspectRatio: false,
|
||||
plugins: {
|
||||
tooltip: {
|
||||
enabled: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue