Commit c69631ac authored by 陈龙's avatar 陈龙

feat: 优化开关值、状态值的legend的样式

parent b4d11f12
...@@ -12,8 +12,8 @@ const deviceParams = [ ...@@ -12,8 +12,8 @@ const deviceParams = [
}, */ }, */
{ {
"deviceCode": "EGJZ00000158", "deviceCode": "EGJZ00000158",
"sensors": "进水压力,出水压力,泵1状态", // "sensors": "进水压力,出水压力,泵1状态",
// "sensors": "泵1状态", "sensors": "泵1状态",
"deviceType": "二供机组" "deviceType": "二供机组"
} }
/* { /* {
......
...@@ -1341,8 +1341,12 @@ const specialTypeChartOptionGenerator = ({ dataSource, cusOption, contrast, cont ...@@ -1341,8 +1341,12 @@ const specialTypeChartOptionGenerator = ({ dataSource, cusOption, contrast, cont
show: true, show: true,
data: legend, data: legend,
selectedMode: false, selectedMode: false,
left: 'center', left: 'right',
top: 30 top: 30,
icon: 'rect',
itemWidth: 14,
itemHeight: 8,
itemGap: 20,
} }
let _option = { let _option = {
xAxis, xAxis,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment