Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wxcp_app into dev
This commit is contained in:
@@ -372,14 +372,11 @@ export default {
|
|||||||
},
|
},
|
||||||
// 触发人数
|
// 触发人数
|
||||||
getBrokenEcharts1() {
|
getBrokenEcharts1() {
|
||||||
let dataX = this.resX;
|
|
||||||
let dataY1 = this.resY;
|
|
||||||
this.brokenEcharts1 = echarts.init(
|
this.brokenEcharts1 = echarts.init(
|
||||||
document.getElementById("brokenEcharts1")
|
document.getElementById("brokenEcharts1")
|
||||||
);
|
);
|
||||||
this.brokenEcharts1.setOption({
|
this.brokenEcharts1.setOption({
|
||||||
tooltip: {
|
tooltip: {
|
||||||
show: this.filterShow == true? false: true ,
|
|
||||||
trigger: "axis",
|
trigger: "axis",
|
||||||
},
|
},
|
||||||
grid: {
|
grid: {
|
||||||
@@ -418,7 +415,7 @@ export default {
|
|||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
type: "line",
|
type: "line",
|
||||||
data: dataY1,
|
data: this.resY,
|
||||||
lineStyle: {
|
lineStyle: {
|
||||||
color: "#4B87FE",
|
color: "#4B87FE",
|
||||||
},
|
},
|
||||||
@@ -436,7 +433,6 @@ export default {
|
|||||||
);
|
);
|
||||||
this.brokenEcharts2.setOption({
|
this.brokenEcharts2.setOption({
|
||||||
tooltip: {
|
tooltip: {
|
||||||
show: this.filterShow == true? false: true,
|
|
||||||
trigger: "axis",
|
trigger: "axis",
|
||||||
},
|
},
|
||||||
grid: {
|
grid: {
|
||||||
@@ -494,7 +490,6 @@ export default {
|
|||||||
);
|
);
|
||||||
this.brokenEcharts3.setOption({
|
this.brokenEcharts3.setOption({
|
||||||
tooltip: {
|
tooltip: {
|
||||||
show: this.filterShow == true? false: true ,
|
|
||||||
trigger: "axis",
|
trigger: "axis",
|
||||||
},
|
},
|
||||||
grid: {
|
grid: {
|
||||||
@@ -572,7 +567,6 @@ export default {
|
|||||||
this.getColumnarEcharts(xData, yData)
|
this.getColumnarEcharts(xData, yData)
|
||||||
})
|
})
|
||||||
},600)
|
},600)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -611,18 +605,18 @@ export default {
|
|||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
label: {
|
|
||||||
show: true,
|
|
||||||
position: top,
|
|
||||||
textStyle: {
|
|
||||||
fontSize: 13,
|
|
||||||
color: '#666'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
data: yData,
|
data: yData,
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
normal: {
|
normal: {
|
||||||
color: "#5087ec",
|
color: "#5087ec",
|
||||||
|
label: {
|
||||||
|
show: true, //开启显示
|
||||||
|
position: 'top', //在上方显示
|
||||||
|
textStyle: {
|
||||||
|
fontSize: 13,
|
||||||
|
color: '#666'
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
type: "bar",
|
type: "bar",
|
||||||
|
|||||||
Reference in New Issue
Block a user