[Bug] boxPlot outliersField not work
Open
@xile611 is already working on this.
Since Oct 30, 2025.
bug
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 221
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 26
Description
Version
1
Link to Minimal Reproduction
1
Steps to Reproduce
https://visactor.io/vchart/demo/box-plot/basic-box-plot
const data = [
{
id: 'boxPlot',
}
];
const spec = {
type: 'boxPlot',
data: data,
xField: 'x',
minField: 'y1',
q1Field: 'y2',
medianField: 'y3',
q3Field: 'y4',
maxField: 'y5',
outliersField: 'y6',
direction: 'vertical',
boxPlot: {
style: {
// boxWidth: 50, // 不指定则自适应宽度
// shaftWidth: 60,
shaftShape: 'line',
lineWidth: 2
}
}
};
const vchart = new VChart(spec, { dom: CONTAINER_ID });
vchart.renderSync();
vchart.updateDataSync('boxPlot',
[{
x: 'Sub-Saharan Africa',
y1: 8.72,
y2: 9.73,
y3: 10.17,
y4: 10.51,
y5: 11.64,
'y6': [12.01, 12.02, 14.03]
},
{
x: 'South Asia',
y1: 9.4,
y2: 10.06,
y3: 10.75,
y4: 11.56,
y5: 12.5
}]);
// Just for the convenience of console debugging, DO NOT COPY!
window['vchart'] = vchart;
updateData的方式outliersField设置无效
Current Behavior
1
Expected Behavior
1
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.