Skip to content

Commit

Permalink
Z-Wave network: Fix ECharts deprecation warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Hotze <[email protected]>
  • Loading branch information
florian-h05 committed Sep 30, 2024
1 parent 38a486a commit eb58fc7
Showing 1 changed file with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
import { use } from 'echarts/core'
import { CanvasRenderer } from 'echarts/renderers'
import { GraphChart } from 'echarts/charts'
import { ToolboxComponent } from 'echarts/components'
import { TooltipComponent, ToolboxComponent } from 'echarts/components'
import VChart from 'vue-echarts'
use([CanvasRenderer, GraphChart, ToolboxComponent])
use([CanvasRenderer, GraphChart, TooltipComponent, ToolboxComponent])
import ThingStatus from '@/components/thing/thing-status-mixin'
Expand Down Expand Up @@ -67,9 +67,7 @@ export default {
data: [],
links: [],
label: {
textStyle: {
fontSize: 16
},
fontSize: 16,
show: true
},
// label: {
Expand All @@ -81,21 +79,19 @@ export default {
// },
roam: true,
lineStyle: {
normal: {
width: 1,
curveness: 0.3,
opacity: 0.7
},
emphasis: {
width: 1,
curveness: 0.3,
opacity: 0.7
},
emphasis: {
lineStyle: {
width: 6,
focus: 'adjacency'
}
},
symbolSize: 28,
itemStyle: {
normal: {
color: 'blue'
}
color: 'blue'
}
}
return this.$oh.api.get('/rest/things').then((data) => {
Expand Down

0 comments on commit eb58fc7

Please sign in to comment.