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 2020/05/26 07:16:27 UTC
[incubator-echarts] 02/02: fix: use fill instead of textFIll for
text
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch label-enhancement
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
commit ea1978b4d0b6dee41a46d48cdcb1f9866a633050
Author: pissang <bm...@gmail.com>
AuthorDate: Tue May 26 15:16:05 2020 +0800
fix: use fill instead of textFIll for text
---
src/chart/helper/Line.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/chart/helper/Line.ts b/src/chart/helper/Line.ts
index 0ec7ce5..d67694d 100644
--- a/src/chart/helper/Line.ts
+++ b/src/chart/helper/Line.ts
@@ -277,7 +277,7 @@ class Line extends graphic.Group {
// Only these properties supported in this emphasis style here.
emphasisState.style = {
text: emphasisText as string,
- textFill: hoverLabelModel.getTextColor(true),
+ fill: hoverLabelModel.getTextColor(true),
// For merging hover style to normal style, do not use
// `hoverLabelModel.getFont()` here.
fontStyle: hoverLabelModel.getShallow('fontStyle'),
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org