提交 31937ab8 编写于 作者: P plainheart

fix: merge defined line style.

上级 c05642b1
......@@ -142,14 +142,12 @@ const axisElementBuilders: Record<typeof selfBuilderAttrs[number], AxisElementBu
}));
}
const lineStyle = lineStyleModel.getLineStyle(['color']);
for (let i = 0; i < splitLines.length; ++i) {
group.add(graphic.mergePath(splitLines[i], {
style: {
stroke: lineColors[i % lineColors.length],
// PENDING
lineDash: lineStyleModel.get('type') as any,
lineWidth: lineWidth
},
style: zrUtil.defaults({
stroke: lineColors[i % lineColors.length]
}, lineStyle),
silent: true
}));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册