@@ -563,7 +563,14 @@ export default {
this.dateForm = {};
this.dateTip = '请选择时间段';
this.barDateList = [];
- this.chartLimit = {};
+ this.chartLimit = {
+ min:'', //左轴上下限
+ max:'',
+ rightMin:'',//右轴上下限
+ rightMax:'',
+ rightTwoMin:'',//右二轴上下限
+ rightTwoMax:'',
+ };
this.sectionScatterData = {};
this.$nextTick(()=>{
@@ -575,7 +575,14 @@ export const chartSetMixin = {
this.leftIndex = -1;
this.rightIndex = -1;
this.rightTwoIndex = -1;
}else {
this.leftIndex = newval.findIndex((item) => item.IsAxis===1);
this.rightIndex = newval.findIndex((item) => !item.IsAxis);