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 2020/04/28 16:42:56 UTC

[incubator-echarts] 01/02: fix: (1) move "auto outside stroke" back to zrender. Think that's reasonable to auto provide this strategy to user. (2) do not specify insideStroke directly, use zrender auto strategry, otherwise incorrect in emphasis.

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

sushuang pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit b338c2235ed8091264554534b41e76fcdb63e338
Author: 100pah <su...@gmail.com>
AuthorDate: Tue Apr 28 17:58:29 2020 +0800

    fix: (1) move "auto outside stroke" back to zrender. Think that's reasonable to auto provide this strategy to user.
    (2) do not specify insideStroke directly, use zrender auto strategry, otherwise incorrect in emphasis.
---
 src/util/graphic.ts | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/util/graphic.ts b/src/util/graphic.ts
index 01b9b3f..69b435a 100644
--- a/src/util/graphic.ts
+++ b/src/util/graphic.ts
@@ -803,10 +803,7 @@ export function createTextConfig(
 
     // fill and auto is determined by the color of path fill if it's not specified by developers.
     textConfig.outsideFill = opt.autoColor || null;
-    textConfig.insideStroke = opt.autoColor || null;
-    // Set default stroke, which is useful when label is over other
-    // messy graphics (like lines) in background.
-    textConfig.outsideStroke = 'rgba(255, 255, 255, 0.9)';
+
     // if (!textStyle.fill) {
     //     textConfig.insideFill = 'auto';
     //     textConfig.outsideFill = opt.autoColor || null;


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