VChart
VChart copied to clipboard
[Bug] Chart width shrinks when operating datazoom frequently
Version
1.13.7
Link to Minimal Reproduction
null
Steps to Reproduce
const spec = {
type: 'bar',
width: 440,
data: [
{
id: 'barData',
values: [
{ month: '啊dasd洒大地洒的撒打算大撒打算撒打算打算', sales: 220 },
{ month: 'Tuesday', sales: 130 },
{ month: 'Wednesday', sales: 25 },
{ month: 'Thursday', sales: 29 },
{ month: '撒打打啊算打算大撒大大撒4 打算打算大大撒打', sales: 38 }
]
}
],
xField: 'month',
yField: 'sales',
dataZoom:[{
orient:'bottom'
}]
};
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
no change for chart width
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response