You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2021/07/20 03:43:16 UTC
[echarts] 01/01: fix(radar): lineStyle.join default round #13201
This is an automated email from the ASF dual-hosted git repository.
ovilia pushed a commit to branch fix-radar
in repository https://gitbox.apache.org/repos/asf/echarts.git
commit 81f0ef4f984e2185b0f0f87505d498a316756b82
Author: Ovilia <zw...@gmail.com>
AuthorDate: Tue Jul 20 11:41:52 2021 +0800
fix(radar): lineStyle.join default round #13201
---
src/chart/radar/RadarSeries.ts | 3 ++-
test/radar4.html | 48 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+), 1 deletion(-)
diff --git a/src/chart/radar/RadarSeries.ts b/src/chart/radar/RadarSeries.ts
index f768195..accbdf4 100644
--- a/src/chart/radar/RadarSeries.ts
+++ b/src/chart/radar/RadarSeries.ts
@@ -152,7 +152,8 @@ class RadarSeriesModel extends SeriesModel<RadarSeriesOption> {
radarIndex: 0,
lineStyle: {
width: 2,
- type: 'solid'
+ type: 'solid',
+ join: 'round'
},
label: {
position: 'top'
diff --git a/test/radar4.html b/test/radar4.html
index 1063e9d..c9f4752 100644
--- a/test/radar4.html
+++ b/test/radar4.html
@@ -100,6 +100,38 @@ under the License.
],
center : ['75%', 210],
radius : 150
+ },
+ {
+ indicator: [{
+ name: 'a',
+ max: 13
+ },
+ {
+ name: 'b',
+ max: 1,
+ min: 0
+ },
+ {
+ name: 'c',
+ max: 16000
+ },
+ {
+ name: 'd',
+ max: 30000
+ },
+ {
+ name: 'e',
+ max: 38000
+ },
+ {
+ name: 'f',
+ max: 52000
+ },
+ {
+ name: 'g',
+ max: 25000
+ }],
+ radius : 150
}
],
series : [
@@ -191,6 +223,22 @@ under the License.
}
}
]
+ },
+ {
+ name: 'join',
+ polarIndex: 2,
+ type: 'radar',
+ data: [{
+ value: [
+ 3,
+ 1,
+ 1,
+ 53,
+ 66,
+ 18,
+ 0.0121
+ ]
+ }]
}
]
});
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org