VisActor / VChart

VChart, more than just a cross-platform charting library, but also an expressive data storyteller.
https://www.visactor.io/vchart
MIT License
940 stars 66 forks source link

[Bug] 面积图绘制会存在留白 #2957

Open fangsong92ac opened 3 months ago

fangsong92ac commented 3 months ago

Version

1.11.8

Link to Minimal Reproduction

https://www.visactor.io/vchart/demo/area-chart/smoothed-area

Steps to Reproduce

const spec = { type: 'area', padding: 0, axes: [{ orient: 'left', visible: false }, { orient: 'bottom', visible: true, trimPadding: true }], data: { values: [ { time: '2:00', value: 38 }, { time: '4:00', value: 56 }, { time: '6:00', value: 10 }, { time: '8:00', value: 70 }, { time: '10:00', value: 36 }, { time: '12:00', value: 94 }, { time: '14:00', value: 24 }, { time: '16:00', value: 44 }, { time: '18:00', value: 36 }, { time: '20:00', value: 68 }, { time: '22:00', value: 22 } ] }, xField: 'time', yField: 'value', line: { style: { curveType: 'monotone' } } };

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

image

Expected Behavior

正常渲染,无颜色缺失

Environment

- OS: macOS Ventura 13.5.2
- Browser: Chrome 126.0.6478.127(正式版本) (arm64)
- Framework:

Any additional comments?

No response

xile611 commented 3 months ago

特定浏览器版本bug,暂不处理

xile611 commented 2 months ago

![Uploading img_v3_02d2_aa174154-a2a9-47f0-9476-5df7ffc06e9g.jpg…]()

AnningZ commented 2 months ago

related chromium issue: https://issues.chromium.org/issues/40069361