slindersAmsterdam opened a new issue, #18172:
URL: https://github.com/apache/echarts/issues/18172
### What problem does this feature solve?
Is it possible to make a pie chart that has an extra dimension on the radius?
So a normal pie chart based on value x of the dataset combined with value y
on the radius.
Instead of two pies, I would like one pie that combines both information.
---
const dataset = [ [80,30], [33,26], [28,35], ]
option = {
series: [
{
name: 'pie Mode',
type: 'pie',
radius: [40, 140],
center: ['25%', '50%'],
encode: {
x: 1
},
data: dataset
},
{
name: 'Area Mode',
type: 'pie',
radius: [40, 140],
center: ['75%', '50%'],
roseType: 'area',
encode: {
x: 0,
},
data: dataset
}
]
};
### What does the proposed API look like?
an extra option in the rosetype: radius could work.
--
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]