Skip to content

Commit

Permalink
fix: revert ECharts changes previously introduced (#512)
Browse files Browse the repository at this point in the history
These were introduced as part of the work for Node 16 support in #482, but we've now come to realize that not only are they not needed, but they are also creating a layout issue on the charts.

Signed-off-by: Pedro Lamas <[email protected]>
  • Loading branch information
pedrolamas authored Feb 7, 2022
1 parent 68248a8 commit 5a7796a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/ui/AppChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
ref="chart"
:option="opts"
:setOptionOps="{ notMerge: true }"
:init-options="{ renderer: 'svg' }"
:initOpts="{ renderer: 'svg' }"
:events="events"
>
</ECharts>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/bedmesh/BedMeshChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ref="chart"
:option="opts"
:setOptionOps="{ notMerge: false }"
:init-options="{ renderer: 'canvas' }"
:initOpts="{ renderer: 'canvas' }"
>
</ECharts>

Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/thermals/ThermalChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
style="overflow: initial;"
:option="options"
:setOptionOps="{ notMerge: true }"
:init-options="{ renderer: 'svg' }"
:initOpts="{ renderer: 'svg' }"
:events="[
['legendselectchanged', handleLegendSelectChange ]
]"
Expand Down

0 comments on commit 5a7796a

Please sign in to comment.