Using ECharts, I’ve noticed that candlesticks don’t widen when zooming in with these settings:
- xAxis type is ‘time’
- dataZoom filterMode is ’empty’
- Series type is ‘candlestick’
var option = {
xAxis: { type: 'time' },
yAxis: { type: 'value', scale: true },
series: [{
type: 'candlestick',
data: ohlcData,
}],
dataZoom: [{
type: 'inside',
xAxisIndex: [0],
filterMode: 'empty',
}, {
type: 'slider',
xAxisIndex: [0],
filterMode: 'empty',
}]
};
Full example: https://codepen.io/xpatt/pen/RwzZwYR
How can I make candlesticks widen on zoom while keeping the ‘time’ xAxis and ’empty’ filterMode?