|
@@ -119,11 +119,11 @@
|
|
let xAxis = await this.getxAxis(true);
|
|
let xAxis = await this.getxAxis(true);
|
|
xAxis['nameRotate'] = 0;
|
|
xAxis['nameRotate'] = 0;
|
|
const option = {
|
|
const option = {
|
|
- title: { left: 'center', text: '累产量趋势图' },
|
|
|
|
|
|
+ title: { text: '累产量趋势图' },
|
|
tooltip: { trigger: 'item', triggerOn:"mousemove",showContent:true },
|
|
tooltip: { trigger: 'item', triggerOn:"mousemove",showContent:true },
|
|
- grid: { top:'15%', left: '8%', right: '3%', bottom: '6%', containLabel: true },
|
|
|
|
|
|
+ grid: { top:'15%', left: '3%', right: '3%', bottom: '6%', containLabel: true },
|
|
xAxis: xAxis,
|
|
xAxis: xAxis,
|
|
- yAxis: { name:'累产量', nameGap: 50, nameLocation:'center', type: 'value'},
|
|
|
|
|
|
+ yAxis: { type: 'value'},
|
|
series: await this.getSeries(true)
|
|
series: await this.getSeries(true)
|
|
};
|
|
};
|
|
console.log("readerChart-"+this.serieType,option);
|
|
console.log("readerChart-"+this.serieType,option);
|