|
@@ -29,14 +29,13 @@ export default {
|
|
|
var zhixing = []
|
|
|
yusuan.push(this.model.clys)
|
|
|
yusuan.push(this.model.wxys)
|
|
|
- var a = this.model.wxys + this.model.clys
|
|
|
- yusuan.push(a)
|
|
|
+ var zongys = this.model.wxys + this.model.clys
|
|
|
+ yusuan.push(zongys)
|
|
|
zhixing.push(this.model.clf)
|
|
|
zhixing.push(this.model.wxf)
|
|
|
- var b = this.model.wxf + this.model.clf
|
|
|
- zhixing.push(b)
|
|
|
- console.log(7777,yusuan,zhixing)
|
|
|
- let that = this
|
|
|
+ var zongzx = this.model.wxf + this.model.clf
|
|
|
+ zhixing.push(zongzx)
|
|
|
+ console.log(7777,yusuan,zhixing),
|
|
|
this.zheChart.setOption({
|
|
|
yAxis: [
|
|
|
{
|
|
@@ -52,14 +51,38 @@ export default {
|
|
|
emphasis: {
|
|
|
focus: 'series'
|
|
|
},
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#8FEEBB'
|
|
|
+ }, {
|
|
|
+ offset: 1,
|
|
|
+ color: '#66DD9E'
|
|
|
+ }]),
|
|
|
+ // barBorderRadius: 11,
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
name: '执行',
|
|
|
type: 'bar',
|
|
|
- stack: 'Ad',
|
|
|
emphasis: {
|
|
|
focus: 'series'
|
|
|
},
|
|
|
+ itemStyle: {
|
|
|
+ normal: {
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ offset: 0,
|
|
|
+ color: '#AEDFFA'
|
|
|
+ }, {
|
|
|
+ offset: 1,
|
|
|
+ color: '#95C7FC'
|
|
|
+ }]),
|
|
|
+ // barBorderRadius: 11,
|
|
|
+ }
|
|
|
+ },
|
|
|
data: zhixing
|
|
|
},
|
|
|
// {
|