|
|
@@ -116,79 +116,25 @@ export default {
|
|
|
name: '开关分合',
|
|
|
type: 'bar',
|
|
|
xAxisIndex: 1,
|
|
|
-
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
- show: true,
|
|
|
- color: '#277ace',
|
|
|
- barBorderRadius: 50,
|
|
|
- borderWidth: 0,
|
|
|
- borderColor: '#333'
|
|
|
- }
|
|
|
- },
|
|
|
- barWidth: '20%',
|
|
|
data: [100, 100, 100, 100]
|
|
|
}, {
|
|
|
name: '单体',
|
|
|
type: 'bar',
|
|
|
xAxisIndex: 1,
|
|
|
-
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
- show: true,
|
|
|
- color: '#277ace',
|
|
|
- barBorderRadius: 50,
|
|
|
- borderWidth: 0,
|
|
|
- borderColor: '#333'
|
|
|
- }
|
|
|
- },
|
|
|
- barWidth: '20%',
|
|
|
- barGap: '100%',
|
|
|
data: [150, 150, 150, 150]
|
|
|
},
|
|
|
- // {
|
|
|
- // name: '开关分合(完成)',
|
|
|
- // type: 'bar',
|
|
|
- // barMaxWidth: 'auto',
|
|
|
- // barWidth: 30,
|
|
|
- // itemStyle: {
|
|
|
- // color: {
|
|
|
- // x: 0,
|
|
|
- // y: 0,
|
|
|
- // x2: 0,
|
|
|
- // y2: 1,
|
|
|
- // type: 'linear',
|
|
|
- // global: false,
|
|
|
- // colorStops: [
|
|
|
- // {
|
|
|
- // offset: 0,
|
|
|
- // color: '#0b9eff'
|
|
|
- // },
|
|
|
- // {
|
|
|
- // offset: 1,
|
|
|
- // color: '#63caff'
|
|
|
- // }
|
|
|
- // ]
|
|
|
- // }
|
|
|
- // },
|
|
|
- // label: {
|
|
|
- // show: true,
|
|
|
- // position: 'top',
|
|
|
- // distance: 10,
|
|
|
- // color: '#fff'
|
|
|
- // }
|
|
|
- // },
|
|
|
- // {
|
|
|
- // name: '单体(完成)',
|
|
|
- // data: [200, 85, 112, 275],
|
|
|
- // type: 'pictorialBar',
|
|
|
- // barMaxWidth: '20',
|
|
|
- // symbolPosition: 'end',
|
|
|
- // symbol: 'diamond',
|
|
|
- // symbolOffset: [0, '-50%'],
|
|
|
- // symbolSize: [30, 12],
|
|
|
- // zlevel: 2
|
|
|
- // }
|
|
|
+ {
|
|
|
+ name: '开关分合(完成)',
|
|
|
+ type: 'bar',
|
|
|
+ data: [30, 30, 30, 30]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '单体(完成)',
|
|
|
+ type: 'bar',
|
|
|
+ barWidth: '20%',
|
|
|
+ data: [10, 10, 10, 10]
|
|
|
+ }
|
|
|
+
|
|
|
],
|
|
|
tooltip: {
|
|
|
trigger: 'axis',
|