Commit c69631ac authored by 陈龙's avatar 陈龙

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

parent b4d11f12
......@@ -12,8 +12,8 @@ const deviceParams = [
}, */
{
"deviceCode": "EGJZ00000158",
"sensors": "进水压力,出水压力,泵1状态",
// "sensors": "泵1状态",
// "sensors": "进水压力,出水压力,泵1状态",
"sensors": "泵1状态",
"deviceType": "二供机组"
}
/* {
......
......@@ -1341,8 +1341,12 @@ const specialTypeChartOptionGenerator = ({ dataSource, cusOption, contrast, cont
show: true,
data: legend,
selectedMode: false,
left: 'center',
top: 30
left: 'right',
top: 30,
icon: 'rect',
itemWidth: 14,
itemHeight: 8,
itemGap: 20,
}
let _option = {
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