diff --git a/src/views/sponeScreen/Echarts/DEchart.vue b/src/views/sponeScreen/Echarts/DEchart.vue index 95b08bf..ef22b08 100644 --- a/src/views/sponeScreen/Echarts/DEchart.vue +++ b/src/views/sponeScreen/Echarts/DEchart.vue @@ -120,28 +120,10 @@ }, }, ], - dataZoom: [ - // { - // //默认控制x轴 - // type: 'slider', //图标下方的伸缩条 - // // show: true, //是否显示 - - // // realtime: true, - // start: 0, //伸缩条开始位置 - // end: 60, //伸缩条结束位置 - // }, - { - type: 'inside', - // xAxisIndex: [0], - start: 0, - end: 60, - }, - ], series: [ { name: '降雨量', type: 'bar', - barWidth: 18, itemStyle: { color: { x: 0, @@ -162,33 +144,8 @@ ], }, }, - // label: { - // show: true, - // position: 'top', - // distance: 10, - // color: '#fff', - // }, - smooth: true, data: echartData.yAxis, }, - // { - // data: [1, 1, 1, 1, 1, 1, 1, 1], - // type: 'pictorialBar', - // barMaxWidth: '20', - // symbol: 'diamond', - // symbolOffset: [0, '50%'], - // symbolSize: [20, 15], - // }, - // { - // data: echartData.yAxis, - // type: 'pictorialBar', - // barMaxWidth: '20', - // symbolPosition: 'end', - // symbol: 'diamond', - // symbolOffset: [0, '-50%'], - // symbolSize: [20, 12], - // zlevel: 2, - // }, ], }); }; diff --git a/src/views/sponeScreen/Echarts/DEchart.vue b/src/views/sponeScreen/Echarts/DEchart.vue index 95b08bf..ef22b08 100644 --- a/src/views/sponeScreen/Echarts/DEchart.vue +++ b/src/views/sponeScreen/Echarts/DEchart.vue @@ -120,28 +120,10 @@ }, }, ], - dataZoom: [ - // { - // //默认控制x轴 - // type: 'slider', //图标下方的伸缩条 - // // show: true, //是否显示 - - // // realtime: true, - // start: 0, //伸缩条开始位置 - // end: 60, //伸缩条结束位置 - // }, - { - type: 'inside', - // xAxisIndex: [0], - start: 0, - end: 60, - }, - ], series: [ { name: '降雨量', type: 'bar', - barWidth: 18, itemStyle: { color: { x: 0, @@ -162,33 +144,8 @@ ], }, }, - // label: { - // show: true, - // position: 'top', - // distance: 10, - // color: '#fff', - // }, - smooth: true, data: echartData.yAxis, }, - // { - // data: [1, 1, 1, 1, 1, 1, 1, 1], - // type: 'pictorialBar', - // barMaxWidth: '20', - // symbol: 'diamond', - // symbolOffset: [0, '50%'], - // symbolSize: [20, 15], - // }, - // { - // data: echartData.yAxis, - // type: 'pictorialBar', - // barMaxWidth: '20', - // symbolPosition: 'end', - // symbol: 'diamond', - // symbolOffset: [0, '-50%'], - // symbolSize: [20, 12], - // zlevel: 2, - // }, ], }); }; diff --git a/src/views/sponeScreen/waterFlood/pipeDetail.vue b/src/views/sponeScreen/waterFlood/pipeDetail.vue index 0c406c3..834a120 100644 --- a/src/views/sponeScreen/waterFlood/pipeDetail.vue +++ b/src/views/sponeScreen/waterFlood/pipeDetail.vue @@ -177,7 +177,8 @@ chartOption.floodOneMapPipeSupervise.series[1].name = '雨量'; chartOption.floodOneMapPipeSupervise.series[1].type = 'bar'; chartOption.floodOneMapPipeSupervise.series[1].barWidth = '10'; - chartOption.floodOneMapPipeSupervise.yAxis[1].inverse = false; //翻转 + chartOption.floodOneMapPipeSupervise.yAxis[1].inverse = true; //翻转 + chartOption.floodOneMapPipeSupervise.yAxis[1].nameLocation = 'start'; //坐标轴名称显示位置 if (datas.propertyMonitorXList.length > 0) { chartOption.floodOneMapPipeSupervise.graphic.invisible = true; //暂无数据 } else {