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

wangzx pushed a commit to branch fix-radar-tooltip
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit b0f8d910065a508f6e2903a9c72c18ebfa3b8d04
Author: plainheart <[email protected]>
AuthorDate: Tue Mar 29 10:34:57 2022 +0800

    fix(radar): fix regression bug brought by branch merging. (#15985)
---
 src/coord/radar/RadarModel.ts      | 3 ---
 test/runTest/actions/__meta__.json | 2 +-
 test/runTest/actions/radar3.json   | 2 +-
 3 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/coord/radar/RadarModel.ts b/src/coord/radar/RadarModel.ts
index 7e1f04b..e3728c1 100644
--- a/src/coord/radar/RadarModel.ts
+++ b/src/coord/radar/RadarModel.ts
@@ -148,9 +148,6 @@ class RadarModel extends ComponentModel<RadarOption> 
implements CoordinateSystem
                 nameTextStyle: iNameTextStyle,
                 triggerEvent: triggerEvent
             } as InnerIndicatorAxisOption, false);
-            if (!showName) {
-                innerIndicatorOpt.name = '';
-            }
             if (zrUtil.isString(nameFormatter)) {
                 const indName = innerIndicatorOpt.name;
                 innerIndicatorOpt.name = nameFormatter.replace('{value}', 
indName != null ? indName : '');
diff --git a/test/runTest/actions/__meta__.json 
b/test/runTest/actions/__meta__.json
index 1aa7762..e40563e 100644
--- a/test/runTest/actions/__meta__.json
+++ b/test/runTest/actions/__meta__.json
@@ -153,7 +153,7 @@
   "polarScatter": 1,
   "radar": 2,
   "radar2": 1,
-  "radar3": 1,
+  "radar3": 2,
   "radar4": 1,
   "resize-animation": 1,
   "sankey-depth": 1,
diff --git a/test/runTest/actions/radar3.json b/test/runTest/actions/radar3.json
index bda3a98..244aa7d 100644
--- a/test/runTest/actions/radar3.json
+++ b/test/runTest/actions/radar3.json
@@ -1 +1 @@
-[{"name":"Action 
1","ops":[{"type":"mousedown","time":493,"x":232,"y":18},{"type":"mouseup","time":586,"x":232,"y":18},{"time":587,"delay":500,"type":"screenshot-auto"},{"type":"mousemove","time":803,"x":241,"y":18},{"type":"mousemove","time":1008,"x":307,"y":20},{"type":"mousedown","time":1144,"x":307,"y":20},{"type":"mouseup","time":1244,"x":307,"y":20},{"time":1245,"delay":500,"type":"screenshot-auto"},{"type":"mousemove","time":1353,"x":308,"y":20},{"type":"mousemove","time":1553,"x"
 [...]
\ No newline at end of file
+[{"name":"Action 
1","ops":[{"type":"mousedown","time":493,"x":232,"y":18},{"type":"mouseup","time":586,"x":232,"y":18},{"time":587,"delay":500,"type":"screenshot-auto"},{"type":"mousemove","time":803,"x":241,"y":18},{"type":"mousemove","time":1008,"x":307,"y":20},{"type":"mousedown","time":1144,"x":307,"y":20},{"type":"mouseup","time":1244,"x":307,"y":20},{"time":1245,"delay":500,"type":"screenshot-auto"},{"type":"mousemove","time":1353,"x":308,"y":20},{"type":"mousemove","time":1553,"x"
 [...]
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to