Open
Description
Describe the bug / 问题描述
const config = {
forceFit: true,
data,
xField: 'title',
yField: '数量',
xAxis: {
title: {
visible: false
}
},
yAxis: {
visible: false
},
conversionTag: {
visible: true,
value: {
formatter: (prev: number, next: number) => {
return isNaN((next / prev)) ? '0.00%' : ${((next / prev) * 100).toFixed(2)}%
},
},
},
label: {
visible: true,
style: {
fill: '#0D0E68',
fontSize: 12,
fontWeight: 600,
opacity: 0.6,
},
},
}
Reproduction link / 复现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
No response
Version / 版本
Please select / 请选择
OS / 操作系统
- macOS
- Windows
- Linux
- Others / 其他
Browser / 浏览器
- Chrome
- Edge
- Firefox
- Safari (Limited support / 有限支持)
- IE (Nonsupport / 不支持)
- Others / 其他