| | |
| | | }) |
| | | return { |
| | | animation: false, color: colors, grid: { top: 40, right: 32, bottom: 42, left: 32, containLabel: true }, |
| | | tooltip: { trigger: 'axis' }, legend: { show: false }, |
| | | // 使用 ECharts 原生图例承载曲线显隐;外部图例仍用于来源说明和改色。 |
| | | tooltip: { trigger: 'axis' }, legend: { show: true, type: 'scroll', top: 0, left: 32, right: 32, itemWidth: 12, itemHeight: 8, textStyle: { color: '#52606d', fontSize: 10 } }, |
| | | xAxis: { type: 'value', min: 0, name: '相对时间 / s', nameLocation: 'middle', nameGap: 28, |
| | | axisLine: { lineStyle: { color: '#cbd8e4' } }, axisLabel: { color: '#8795a3', fontSize: 10 }, |
| | | nameTextStyle: { color: '#26333f', fontSize: 11, fontWeight: 600 } }, |