|
|
@@ -103,7 +103,7 @@ export class ChartDrawingTools {
|
|
|
markLineData.push({
|
|
|
yAxis: line.points[0].yValue,
|
|
|
lineStyle: {
|
|
|
- color: '#ff0000', // 红色
|
|
|
+ color: line.type === 'trend' ? '#0000ff' : '#ff0000', // 趋势线蓝色,其他红色
|
|
|
opacity: 1, // 透明度100%
|
|
|
...line.style,
|
|
|
type: line.style?.type || 'solid'
|