|  | @@ -1143,14 +1143,9 @@ export default {
 | 
											
												
													
														|  |          color: ['#ff0000', '#5199e5', '#fdb06a', '#fb8b73'], // 关键加上这句话,legend的颜色和折线的自定义颜色就一致了
 |  |          color: ['#ff0000', '#5199e5', '#fdb06a', '#fb8b73'], // 关键加上这句话,legend的颜色和折线的自定义颜色就一致了
 | 
											
												
													
														|  |          legend: [{
 |  |          legend: [{
 | 
											
												
													
														|  |            itemWidth: 15, itemHeight: 7, right: '25%', textStyle: { fontSize: 12 },
 |  |            itemWidth: 15, itemHeight: 7, right: '25%', textStyle: { fontSize: 12 },
 | 
											
												
													
														|  | -          data: [{ name: '设计重量' }, { name: '实际重量' , itemStyle: {
 |  | 
 | 
											
												
													
														|  | -                        normal: {
 |  | 
 | 
											
												
													
														|  | -                            color: '#ff0000'
 |  | 
 | 
											
												
													
														|  | -                        }
 |  | 
 | 
											
												
													
														|  | -                    } 
 |  | 
 | 
											
												
													
														|  | -          }]
 |  | 
 | 
											
												
													
														|  | 
 |  | +          data: [{ name: '设计重量' }, { name: '实际重量'  }]
 | 
											
												
													
														|  |          }, {
 |  |          }, {
 | 
											
												
													
														|  | -          itemWidth: 15, itemHeight: 15, right: '0', textStyle: { fontSize: 12 },
 |  | 
 | 
											
												
													
														|  | 
 |  | +          itemWidth: 5, itemHeight: 5, right: '0', textStyle: { fontSize: 12 },
 | 
											
												
													
														|  |            data: [
 |  |            data: [
 | 
											
												
													
														|  |              // { name: '开始重量', icon: 'image://https://kptyun.cn:8081/file/pic/3.png' },            // { name: '结束重量', icon: 'image://https://kptyun.cn:8081/file/pic/4.png' },
 |  |              // { name: '开始重量', icon: 'image://https://kptyun.cn:8081/file/pic/3.png' },            // { name: '结束重量', icon: 'image://https://kptyun.cn:8081/file/pic/4.png' },
 | 
											
												
													
														|  |              // { name: '结束重量', icon: 'image://https://kptyun.cn:8081/file/pic/4.png' },            // { name: '结束重量', icon: 'image://https://kptyun.cn:8081/file/pic/4.png' },
 |  |              // { name: '结束重量', icon: 'image://https://kptyun.cn:8081/file/pic/4.png' },            // { name: '结束重量', icon: 'image://https://kptyun.cn:8081/file/pic/4.png' },
 | 
											
										
											
												
													
														|  | @@ -1198,12 +1193,12 @@ export default {
 | 
											
												
													
														|  |            {type:'slider' },  //用于添加滑动条缩放,
 |  |            {type:'slider' },  //用于添加滑动条缩放,
 | 
											
												
													
														|  |          ],
 |  |          ],
 | 
											
												
													
														|  |          series: [
 |  |          series: [
 | 
											
												
													
														|  | -          { symbol: 'none', name: '实际重量', type: 'line', data: chartLine_data.data3, itemStyle: { normal: { lineStyle: { color: '#ff0000' }}}},
 |  | 
 | 
											
												
													
														|  | -          { symbol: 'none', name: '设计重量', type: 'line', step: 'middle', data: chartLine_data.data2 },
 |  | 
 | 
											
												
													
														|  | 
 |  | +          { symbol: 'none', name: '实际重量', type: 'line', data: chartLine_data.data3, itemStyle: { normal: { lineStyle: { color: '#ff0000' ,width:2}}}},
 | 
											
												
													
														|  | 
 |  | +          { symbol: 'none', name: '设计重量', type: 'line', step: 'middle', data: chartLine_data.data2 , itemStyle: { normal: { lineStyle: {  width:2}}}},
 | 
											
												
													
														|  |            // { name: '开始重量', symbol: 'image://https://kptyun.cn:8081/file/pic/3.png', symbolSize: 10, type: 'scatter', data: chartLine_data.data4 },
 |  |            // { name: '开始重量', symbol: 'image://https://kptyun.cn:8081/file/pic/3.png', symbolSize: 10, type: 'scatter', data: chartLine_data.data4 },
 | 
											
												
													
														|  |            // { name: '结束重量', symbol: 'image://https://kptyun.cn:8081/file/pic/4.png', symbolSize: 10, type: 'scatter', data: chartLine_data.data5 }
 |  |            // { name: '结束重量', symbol: 'image://https://kptyun.cn:8081/file/pic/4.png', symbolSize: 10, type: 'scatter', data: chartLine_data.data5 }
 | 
											
												
													
														|  | -          { name: '开始重量', symbolSize: 10, type: 'scatter', data: chartLine_data.data4 },
 |  | 
 | 
											
												
													
														|  | -          { name: '结束重量', symbolSize: 10, type: 'scatter', data: chartLine_data.data5 }
 |  | 
 | 
											
												
													
														|  | 
 |  | +          { name: '开始重量', symbolSize: 6, type: 'scatter', data: chartLine_data.data4 },
 | 
											
												
													
														|  | 
 |  | +          { name: '结束重量', symbolSize: 6, type: 'scatter', data: chartLine_data.data5 }
 | 
											
												
													
														|  |          ]
 |  |          ]
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  |        this.chartLine.setOption(option)
 |  |        this.chartLine.setOption(option)
 |