-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Open
Labels
enThis issue is in EnglishThis issue is in Englishnew-featurependingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.
Description
What problem does this feature solve?
<pie chart> series: [ { type: 'pie', radius: '61%', center: ['30%', '60%'], selectedMode: 'single', . . . } ]
The pie chart can be adjusted in size by using the radius value in the series, and the position can be adjusted by using the center value, right?
<bar chart> series: [ { name: 'bar', type: 'bar', stack: 'one', emphasis: emphasisStyle, data: data1 }, { name: 'bar2', type: 'bar', stack: 'one', emphasis: emphasisStyle, data: data2 }, { name: 'bar3', type: 'bar', stack: 'two', emphasis: emphasisStyle, data: data3 }, { name: 'bar4', type: 'bar', stack: 'two', emphasis: emphasisStyle, data: data4 } ]
By the way, I wonder if there is no separate option to set the size or position in the bar graph.
What does the proposed API look like?
series: [ { type: 'pie', radius: '61%', center: ['30%', '60%'], selectedMode: 'single', . . . } ] series: [ { name: 'bar', type: 'bar', stack: 'one', emphasis: emphasisStyle, data: data1 }, { name: 'bar2', type: 'bar', stack: 'one', emphasis: emphasisStyle, data: data2 }, { name: 'bar3', type: 'bar', stack: 'two', emphasis: emphasisStyle, data: data3 }, { name: 'bar4', type: 'bar', stack: 'two', emphasis: emphasisStyle, data: data4 } ]Metadata
Metadata
Assignees
Labels
enThis issue is in EnglishThis issue is in Englishnew-featurependingWe are not sure about whether this is a bug/new feature.We are not sure about whether this is a bug/new feature.