提交 eb9fda9b 编写于 作者: P plainheart

tweak: use `polyline.style.lineWidth` instead of `lineStyleModel.get('width')`.

上级 9e8994a3
......@@ -553,7 +553,7 @@ class LineView extends ChartView {
const shouldBolderOnEmphasis = seriesModel.get(['emphasis', 'lineStyle', 'width']) === 'bolder';
if (shouldBolderOnEmphasis) {
const emphasisLineStyle = polyline.getState('emphasis').style;
emphasisLineStyle.lineWidth = lineStyleModel.get('width') + 1;
emphasisLineStyle.lineWidth = polyline.style.lineWidth + 1;
}
// Needs seriesIndex for focus
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册