You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by 夜猫子 <43...@qq.com> on 2021/03/11 15:42:34 UTC

回复:[GitHub] [echarts-examples] CoconutYz commented on issue #6: echarts如何绘制泰勒曲线?

&nbsp;我目前把线条给他加了个样式
		series: [{
				name: '时段消费',
				type: 'line',
				data: [],
				itemStyle: {
					normal: {
						lineStyle: {
							width: 3 //设置线条粗细
						}
					}
				}
			},
			{
				markPoint: {
					data: [{
						type: 'max',
						name: '最大值'
					}, {
						type: 'min',
						name: '最小值'
					}]
				},
				name: '时段消费汇总',
				type: 'line',
				data: [],
				itemStyle: {
					normal: {
						lineStyle: {
							width: 3 //设置线条粗细
						}
					}
				}
			}
		]





//加的
itemStyle: {
					normal: {
						lineStyle: {
							width: 3 //设置线条粗细
						}
					}
				}
问题应该是出现在他默认的线条粗线的问题,目前还在试不知道会不会有bug,&nbsp;这种强制指定粗细&nbsp; 试了比原来的粗&nbsp;&nbsp;