import { Chart } from '@antv/g2';
const chart = new Chart({
container: 'container',
autoFit: true,
});
chart
.gauge()
.coordinate({
//改变角度不生效
startAngle:-Math.PI / 2,
endAngle:Math.PI * 3
})
.data({
value: {
target: 120,
total: 400,
name: 'score',
},
})
.legend(false);
chart.render();
Describe the bug / 问题描述
在仪表盘组件里通过坐标系改变起止角度没有生效
Reproduction link / 复现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
官方的仪表盘示例,增加角度设置就可复现
Version / 版本
Please select / 请选择
OS / 操作系统
Browser / 浏览器