Skip to content

Commit

Permalink
Merge pull request #18845 from apache/release-dev
Browse files Browse the repository at this point in the history
[chore] merge #18841 into release
  • Loading branch information
plainheart authored Jul 5, 2023
2 parents 9fa6220 + dd53fc9 commit f4f532d
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/chart/line/LineView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,10 @@ class LineView extends ChartView {
});
}
if (valueAnimation) {
labelInner(endLabel).setLabelText(value);
const inner = labelInner(endLabel);
if (typeof inner.setLabelText === 'function') {
inner.setLabelText(value);
}
}
}
}
Expand Down
44 changes: 43 additions & 1 deletion test/line-endLabel.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f4f532d

Please sign in to comment.