You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2022/02/11 02:14:33 UTC
[echarts] branch master updated: fix(pictorialBar): set valueLineWidth NaN value to zero. close #16423
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git
The following commit(s) were added to refs/heads/master by this push:
new 406c11f fix(pictorialBar): set valueLineWidth NaN value to zero. close #16423
new fece30a Merge pull request #16469 from fuchunhui/fix-16423
406c11f is described below
commit 406c11fa95be84488043aa3a0e2e4b752a59b41d
Author: fuchunhui <fu...@gmail.com>
AuthorDate: Mon Feb 7 18:55:34 2022 +0800
fix(pictorialBar): set valueLineWidth NaN value to zero. close #16423
---
src/chart/bar/PictorialBarView.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/chart/bar/PictorialBarView.ts b/src/chart/bar/PictorialBarView.ts
index 19edede..bcd019d 100644
--- a/src/chart/bar/PictorialBarView.ts
+++ b/src/chart/bar/PictorialBarView.ts
@@ -416,7 +416,7 @@ function prepareLineWidth(
valueLineWidth *= symbolScale[opt.valueDim.index];
}
- outputSymbolMeta.valueLineWidth = valueLineWidth;
+ outputSymbolMeta.valueLineWidth = valueLineWidth || 0;
}
function prepareLayoutInfo(
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org