|
@@ -506,6 +506,10 @@ export default {
|
|
|
grid: { left: '0', right: '0', top: '5%', bottom: '0', containLabel: true },
|
|
|
xAxis: [{ type: 'category', data: this.chart3Data.xaxis, axisLabel: { interval: 0, rotate: 40 }, axisTick: { alignWithLabel: true }}],
|
|
|
yAxis: [{ type: 'value', axisLine: { show: false }, splitLine: { lineStyle: { type: 'dashed' }}}],
|
|
|
+ dataZoom: [
|
|
|
+ { show: true, realtime: true, start: 0, end: 50 },
|
|
|
+ { type: 'inside', realtime: true, start: 0, end: 50 }
|
|
|
+ ],
|
|
|
series: [
|
|
|
{
|
|
|
name: '缺陷数量', type: 'line', barWidth: '20px', smooth: true, data: this.chart3Data.yaxis[0] && this.chart3Data.yaxis[0].data || [],
|