提交 ad3992a1 编写于 作者: P plainheart

fix(axis): tweak line width set logic.

上级 31937ab8
......@@ -93,7 +93,6 @@ const axisElementBuilders: Record<typeof selfBuilderAttrs[number], AxisElementBu
const splitLineModel = axisModel.getModel('splitLine');
const lineStyleModel = splitLineModel.getModel('lineStyle');
const lineWidth = lineStyleModel.get('width');
let lineColors = lineStyleModel.get('color');
lineColors = lineColors instanceof Array ? lineColors : [lineColors];
......@@ -135,9 +134,6 @@ const axisElementBuilders: Record<typeof selfBuilderAttrs[number], AxisElementBu
x2: p2[0],
y2: p2[1]
},
style: {
lineWidth: lineWidth
},
silent: true
}));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册