You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2021/03/22 11:35:20 UTC

[echarts] branch master updated: fix(custom): fix series label on custom series not working properly. close #14092

This is an automated email from the ASF dual-hosted git repository.

sushuang 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 e3974dd  fix(custom): fix series label on custom series not working properly. close #14092
     new f3471f0  Merge pull request #14254 from Nick22nd/fix-14092
e3974dd is described below

commit e3974dd9c7624b52d5cd4ec9e91c1bfda296f5d4
Author: nick22nd <yx...@gmail.com>
AuthorDate: Tue Feb 9 21:21:06 2021 +0800

    fix(custom): fix series label on custom series not working properly. close #14092
---
 src/util/styleCompat.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/styleCompat.ts b/src/util/styleCompat.ts
index 87b21bc..bcc817b 100644
--- a/src/util/styleCompat.ts
+++ b/src/util/styleCompat.ts
@@ -191,7 +191,7 @@ export function convertToEC4StyleForCustomSerise(
     }
     else {
         if (textFillNotSet) {
-            out.textFill = txCfg.outsideFill || hostFill;
+            out.textFill = itemStl.fill || txCfg.outsideFill || '#000';
         }
         !out.textStroke && txCfg.outsideStroke && (out.textStroke = txCfg.outsideStroke);
     }

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org