| | |
| | | sampling: "lttb", |
| | | smooth: false, |
| | | symbolSize: 0, |
| | | markPoint: { |
| | | data: [ |
| | | { |
| | | type: 'max', |
| | | name: 'Max', |
| | | itemStyle: { |
| | | color: '#ff0000' |
| | | } |
| | | }, |
| | | ] |
| | | }, |
| | | data: item, |
| | | } |
| | | }); |
| | |
| | | sampling: "lttb", |
| | | smooth: false, |
| | | symbolSize: 0, |
| | | markPoint: { |
| | | data: [ |
| | | { |
| | | type: 'max', |
| | | name: 'Max', |
| | | itemStyle: { |
| | | color: '#ff0000' |
| | | } |
| | | }, |
| | | ] |
| | | }, |
| | | data: item, |
| | | } |
| | | }); |
| | |
| | | left: '1%', |
| | | right: '4%', |
| | | bottom: '3%', |
| | | top: "6%", |
| | | containLabel: true |
| | | } |
| | | }); |
| | | chart3Option.tooltip.show = false; |
| | | chart3Option.xAxis.axisLabel.show = false; |
| | | chart3Option.xAxis.axisLine.show = false; |
| | | chart3Option.xAxis.axisLabel.show = true; |
| | | chart3Option.xAxis.axisLine.show = true; |
| | | |
| | | title4.value = "图表4"; |
| | | chart4Option = getNormalLine({ |
| | |
| | | left: '1%', |
| | | right: '4%', |
| | | bottom: '3%', |
| | | top: "6%", |
| | | containLabel: true |
| | | } |
| | | }); |
| | | chart4Option.tooltip.show = false; |
| | | chart4Option.xAxis.axisLabel.show = false; |
| | | chart4Option.xAxis.axisLine.show = false; |
| | | chart4Option.xAxis.axisLabel.show = true; |
| | | chart4Option.xAxis.axisLine.show = true; |
| | | } |
| | | |
| | | const setChart = ()=>{ |