Version
2.0.5
Link to Minimal Reproduction
null
Steps to Reproduce
const spec = {
width: 188,
height: 188,
"type": "pie",
"title": {
"text": "流程时长分布"
},
"data": {
"values": [
{
"type": "个人审批时长",
"value": "45"
},
{
"type": "其他节点时长",
"value": "55"
}
]
},
"valueField": "value",
"categoryField": "type",
"outerRadius": 0.9,
"innerRadius": 0.3,
"label": {
"visible": true
},
"legends": {
"visible": true,
maxRow: 1,
}
};
const vchart = new VChart(spec, { dom: CONTAINER_ID });
vchart.renderSync();
// Just for the convenience of console debugging, DO NOT COPY!
window['vchart'] = vchart;
Current Behavior
Expected Behavior
pager should be 1/2
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Version
2.0.5
Link to Minimal Reproduction
null
Steps to Reproduce
const spec = {
width: 188,
height: 188,
"type": "pie",
"title": {
"text": "流程时长分布"
},
"data": {
"values": [
{
"type": "个人审批时长",
"value": "45"
},
{
"type": "其他节点时长",
"value": "55"
}
]
},
"valueField": "value",
"categoryField": "type",
"outerRadius": 0.9,
"innerRadius": 0.3,
"label": {
"visible": true
},
"legends": {
"visible": true,
maxRow: 1,
}
};
const vchart = new VChart(spec, { dom: CONTAINER_ID });
vchart.renderSync();
// Just for the convenience of console debugging, DO NOT COPY!
window['vchart'] = vchart;
Current Behavior
Expected Behavior
pager should be 1/2
Environment
Any additional comments?
No response