Skip to content

Commit f4f532d

Browse files
authored
Merge pull request #18845 from apache/release-dev
[chore] merge #18841 into release
2 parents 9fa6220 + dd53fc9 commit f4f532d

File tree

2 files changed

+47
-2
lines changed

2 files changed

+47
-2
lines changed

src/chart/line/LineView.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,10 @@ class LineView extends ChartView {
12991299
});
13001300
}
13011301
if (valueAnimation) {
1302-
labelInner(endLabel).setLabelText(value);
1302+
const inner = labelInner(endLabel);
1303+
if (typeof inner.setLabelText === 'function') {
1304+
inner.setLabelText(value);
1305+
}
13031306
}
13041307
}
13051308
}

test/line-endLabel.html

Lines changed: 43 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)