helgasoft opened a new issue, #19182:
URL: https://github.com/apache/echarts/issues/19182
### What problem does this feature solve?
The feature will solve several current radar problems like #16605, #15339,
#10750, #10537, etc.
Current design is custom, unique and inconsistent with other charts. As a
result, support and maintenance are more difficult.
### What does the proposed API look like?
Current **radar** series structure treats individual series as _data_ :
```
series: [{
type: 'radar',
data : [
{
value : [4300, 10000, 28000, 35000, 50000, 19000],
name : 'Allocated Budget'
},
{
value : [5000, 14000, 28000, 31000, 42000, 21000],
name : 'Actual Spending'
}
]
}]
```
Proposed API is having individual **line series**, as in
[polar](https://echarts.apache.org/examples/en/editor.html?c=polar-roundCap).
Radar is similar to polar but does not have its own _coordinateSystem_.
```
series: [
{ type: 'line', name: 'Allocated Budget', coordinateSystem: 'radar',
data : [ 4300, 10000, 28000, 35000, 50000, 19000]
},
{ type: 'line', name: 'Actual Spending', coordinateSystem: 'radar',
data : [5000, 14000, 28000, 31000, 42000, 21000]
}
]
```
I think radar chart should be restructured like polar. With its specific
[radar axis](https://echarts.apache.org/en/option.html#radar) and
**coordinateSystem**, so that radar series become consistent with other series
in ECharts.
[Demo
Code](https://echarts.apache.org/examples/en/editor.html?code=CYQwLiCMC8AEDaBWRAaA7GllsoEz5WQF0BuAKFAlznlwGY6sMsCAOVvB0sgewAcwASx4A7WHADeZWLAA2AUwDm8kcABcsCbAC-KabD49ZIAE4aJu_SZDBBAVwDOAQQAegh-ZBuHAGUEj5NQkHAAseAHc1ADMQWQd5XVgvdx8QACN5WSDQiOjY-MTkhwAVQQBjAGtssMiYuITLGRARRQVXd3N9GTAATz5A2AByADdYu3lBvRkZBwgTMCcWhQ0ABn1G2DAeIyE-TunNk0FFZTMhosmupO8ABR5_MHkzqQPuvoHBspMeBwdBq-06ymsHiR3kHgQVxerzK2xMthE4HkAGUerN5ABbDSDQzGEyXV6wREYj6yfwTFBJEzyEDI3rLTSw2Q8M6DanASawfggMqCXpqFYAOjoGwOvX62LJAQJr0oIA0csgAOBMmhB1hLIRSNR6KxQ1xphlB2JpPJuE5phpdJ6DIkTJZ2LSsnGnO5vP5QpFKum4tN0u9MjlCvAIFwAP0RDI2hIQA).

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]