diff --git a/src/components/ui/AppChart.vue b/src/components/ui/AppChart.vue index e54e1bfc6a..bd28aea266 100644 --- a/src/components/ui/AppChart.vue +++ b/src/components/ui/AppChart.vue @@ -10,7 +10,7 @@ ref="chart" :option="opts" :setOptionOps="{ notMerge: true }" - :init-options="{ renderer: 'svg' }" + :initOpts="{ renderer: 'svg' }" :events="events" > diff --git a/src/components/widgets/bedmesh/BedMeshChart.vue b/src/components/widgets/bedmesh/BedMeshChart.vue index 1ec96d3931..8e6f3e72cb 100644 --- a/src/components/widgets/bedmesh/BedMeshChart.vue +++ b/src/components/widgets/bedmesh/BedMeshChart.vue @@ -4,7 +4,7 @@ ref="chart" :option="opts" :setOptionOps="{ notMerge: false }" - :init-options="{ renderer: 'canvas' }" + :initOpts="{ renderer: 'canvas' }" > diff --git a/src/components/widgets/thermals/ThermalChart.vue b/src/components/widgets/thermals/ThermalChart.vue index 847d76da17..193867f833 100644 --- a/src/components/widgets/thermals/ThermalChart.vue +++ b/src/components/widgets/thermals/ThermalChart.vue @@ -5,7 +5,7 @@ style="overflow: initial;" :option="options" :setOptionOps="{ notMerge: true }" - :init-options="{ renderer: 'svg' }" + :initOpts="{ renderer: 'svg' }" :events="[ ['legendselectchanged', handleLegendSelectChange ] ]"