|
@@ -5,7 +5,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
-
|
|
|
+
|
|
|
<script>
|
|
|
export default {
|
|
|
props: {
|
|
@@ -50,12 +50,12 @@ export default {
|
|
|
},
|
|
|
lineStyle: {
|
|
|
normal: {
|
|
|
- color: '#3673E8' //
|
|
|
+ color: '#3673E8' //
|
|
|
}
|
|
|
},
|
|
|
areaStyle: {
|
|
|
normal: {
|
|
|
- color: '#3673E833' //
|
|
|
+ color: '#3673E833' //
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -85,6 +85,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
setJson(array) {
|
|
|
+ array = array.filter(i=>i.zcount>0);
|
|
|
this.ooption = {
|
|
|
indicator: [],
|
|
|
max: 100,
|
|
@@ -103,7 +104,7 @@ export default {
|
|
|
for(var i = 0;i<this.ooption.indicator.length;i++){
|
|
|
this.ooption.indicator[i].max = this.ooption.max
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if (!this.chartObj) {
|
|
|
this.setChart(this.ooption);
|
|
|
} else {
|
|
@@ -134,7 +135,7 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
-
|
|
|
+
|
|
|
<style scoped>
|
|
|
.data_body {
|
|
|
height: 100%;
|
|
@@ -148,4 +149,4 @@ export default {
|
|
|
width: 100%;
|
|
|
/* background: #fff; */
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|