Closed FunctionEurus closed 3 months ago
1.11.5
none
const spec = { type: 'pie', data: [ { values: [ { type: 'oxygen', value: 0 }, { type: 'silicon', value: 0 }, { type: 'aluminum', value: 0 }, { type: 'iron', value: 0 }, { type: 'calcium', value: 0 }, { type: 'sodium', value: 0 } ] } ], valueField: 'value', categoryField: 'type', label: { visible: true } }; const vchart = new VChart(spec, { dom: CONTAINER_ID }); vchart.renderSync(); // Just for the convenience of console debugging, DO NOT COPY! window['vchart'] = vchart;
- OS: - Browser: - Framework:
No response
试一下配置:
label: { visible: true, layout:{ tangentConstraint: false // 关闭布局时的切线约束 } }
Version
1.11.5
Link to Minimal Reproduction
none
Steps to Reproduce
Current Behavior
Expected Behavior
Environment
Any additional comments?
No response