This is an automated email from the ASF dual-hosted git repository. ovilia 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 6ce4dbcab fix(labelLine):emphasis.labelLine not work in pie chart (#19180) 6ce4dbcab is described below commit 6ce4dbcabf3cea165479e48f96d67eaea56079f0 Author: shiersansi <143710553+shiersa...@users.noreply.github.com> AuthorDate: Fri Oct 20 15:47:04 2023 +0800 fix(labelLine):emphasis.labelLine not work in pie chart (#19180) --- src/label/labelGuideHelper.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/label/labelGuideHelper.ts b/src/label/labelGuideHelper.ts index fdb70665e..1177ceef0 100644 --- a/src/label/labelGuideHelper.ts +++ b/src/label/labelGuideHelper.ts @@ -547,7 +547,6 @@ function setLabelLineState( if (smooth > 0) { (stateObj.shape as Polyline['shape']).smooth = smooth as number; } - const styleObj = stateModel.getModel('lineStyle').getLineStyle(); isNormal ? labelLine.useStyle(styleObj) : stateObj.style = styleObj; } @@ -622,6 +621,9 @@ export function setLabelLineStyle( if (stateObj) { stateObj.ignore = true; } + if (!!labelLine) { + setLabelLineState(labelLine, true, stateName, stateModel); + } continue; } // Create labelLine if not exists --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org