feat:修改chart最大间隔的倍数跟数组长度有关
This commit is contained in:
@@ -731,7 +731,7 @@
|
|||||||
show:false
|
show:false
|
||||||
},
|
},
|
||||||
minInterval: chartDataFormat.Interval(maxValue,copies,unit.type,'min'),
|
minInterval: chartDataFormat.Interval(maxValue,copies,unit.type,'min'),
|
||||||
// maxInterval: chartDataFormat.Interval(maxValue,copies,unit.type,'max'),
|
maxInterval: chartDataFormat.Interval(maxValue,copies,unit.type,'max')*Math.ceil(dataArg.length/5),
|
||||||
axisTick: {
|
axisTick: {
|
||||||
show: false,
|
show: false,
|
||||||
},
|
},
|
||||||
@@ -1477,7 +1477,7 @@
|
|||||||
series:this.seriesItem,
|
series:this.seriesItem,
|
||||||
yAxis:{
|
yAxis:{
|
||||||
minInterval: chartDataFormat.Interval(maxValue,copies,unit.type,'min'),
|
minInterval: chartDataFormat.Interval(maxValue,copies,unit.type,'min'),
|
||||||
maxInterval: chartDataFormat.Interval(maxValue,copies,unit.type,'max'),
|
maxInterval: chartDataFormat.Interval(maxValue,copies,unit.type,'max')*Math.ceil(dataArg.length/5),
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if(this.hasLegendOptions){
|
if(this.hasLegendOptions){
|
||||||
@@ -1510,7 +1510,7 @@
|
|||||||
series:this.seriesItemScreen,
|
series:this.seriesItemScreen,
|
||||||
yAxis:{
|
yAxis:{
|
||||||
minInterval: chartDataFormat.Interval(maxValue,copies,unit.type,'min'),
|
minInterval: chartDataFormat.Interval(maxValue,copies,unit.type,'min'),
|
||||||
maxInterval: chartDataFormat.Interval(maxValue,copies,unit.type,'max'),
|
maxInterval: chartDataFormat.Interval(maxValue,copies,unit.type,'max')*Math.ceil(dataArg.length/5),
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if(this.hasLegendOptions){
|
if(this.hasLegendOptions){
|
||||||
|
|||||||
Reference in New Issue
Block a user