This is an automated email from the ASF dual-hosted git repository. ovilia pushed a commit to branch release-dev in repository https://gitbox.apache.org/repos/asf/echarts.git
commit dd53fc9f18fa29f04f8d85cb46791ea9f0936a27 Author: Ovilia <[email protected]> AuthorDate: Wed Jul 5 09:51:51 2023 +0800 fix(endLabel): remove check of inner --- src/chart/line/LineView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chart/line/LineView.ts b/src/chart/line/LineView.ts index 8c07a3d93..435fa2a90 100644 --- a/src/chart/line/LineView.ts +++ b/src/chart/line/LineView.ts @@ -1300,7 +1300,7 @@ class LineView extends ChartView { } if (valueAnimation) { const inner = labelInner(endLabel); - if (inner && typeof inner.setLabelText === 'function') { + if (typeof inner.setLabelText === 'function') { inner.setLabelText(value); } } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
