|
@ -41,7 +41,7 @@
|
|
index2:0,
|
|
index2:0,
|
|
gaoBingFaData:null,
|
|
gaoBingFaData:null,
|
|
isInit:true,
|
|
isInit:true,
|
|
fontSize: 0.007 * window.screen.width,
|
|
|
|
|
|
fontSize: 0,
|
|
linkageFilter:"",
|
|
linkageFilter:"",
|
|
hasData:true,
|
|
hasData:true,
|
|
monthData:null,
|
|
monthData:null,
|
|
@ -50,7 +50,8 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted: function() {
|
|
mounted: function() {
|
|
|
|
|
|
|
|
var width = window.screen.width>=1920?window.screen.width:1920;
|
|
|
|
this.fontSize = 0.007 * width;
|
|
},
|
|
},
|
|
watch:{
|
|
watch:{
|
|
data:function(data){
|
|
data:function(data){
|
|
@ -235,6 +236,7 @@
|
|
show: true,
|
|
show: true,
|
|
position: "right",
|
|
position: "right",
|
|
color: '#b5e1fc',
|
|
color: '#b5e1fc',
|
|
|
|
fontSize:vm.fontSize,
|
|
formatter:function(param){
|
|
formatter:function(param){
|
|
var dataIndex = param.dataIndex,zhuYuanVal;
|
|
var dataIndex = param.dataIndex,zhuYuanVal;
|
|
_.map(zhuYuanData,function(item,idx){
|
|
_.map(zhuYuanData,function(item,idx){
|