Version
4.7.0
Steps to reproduce
当漏斗图设置为不排序的时候,值与面积大小不匹配
option = {
tooltip: {
trigger: 'item',
formatter: "{a} <br/>{b} : {c}%"
},
toolbox: {
feature: {
dataView: {readOnly: false},
restore: {},
saveAsImage: {}
}
},
legend: {
data: ['10w ','1w-10w','1k-1w','100-1k','10-100','1-10','0']
},
calculable: true,
series: [
{
name:'漏斗图',
type:'funnel',
left: '10%',
top: 60,
//x2: 80,
bottom: 60,
width: '80%',
// height: {totalHeight} - y - y2,
min:0,
max: 30,
minSize: '0%',
maxSize: '100%',
sort: 'none',
gap: 2,
label: {
normal: {
show: true,
position: 'inside'
},
emphasis: {
textStyle: {
fontSize: 20
}
}
},
labelLine: {
normal: {
length: 10,
lineStyle: {
width: 1,
type: 'solid'
}
}
},
itemStyle: {
normal: {
borderColor: '#fff',
borderWidth: 1
}
},
data: [
{value: 0, name: '1k-1w'},
{value: 10, name: '100-1k'},
{value: 10, name: '10-100'},
{value: 20, name: '1-10'},
{value: 5, name: '0'}
]
}
]
};
What is expected?
漏斗图的面积应与值成比例,值大的面积大才合理
What is actually happening?
漏斗图的面积没有与值成比例,值大的面积反而比值小的面积小
Version
4.7.0
Steps to reproduce
当漏斗图设置为不排序的时候,值与面积大小不匹配
What is expected?
漏斗图的面积应与值成比例,值大的面积大才合理
What is actually happening?
漏斗图的面积没有与值成比例,值大的面积反而比值小的面积小