Is it possible to set an 'inside' Datazoom for each axis on the SingleAxis chart?
I'm using the following example but adding dataZoom object only works for the first axis. https://echarts.apache.org/examples/en/editor.html?c=scatter-single-axis
I used this dataZoom :
const options = {
...
dataZoom: [{
type: 'inside',
},
{
type: 'inside',
}],
...
}
For Angular folks using ngx-echart, the accepted did not work for me .'
Using xAxisIndex
with array works in my case.
dataZoom: [
{
type: 'slider',
bottom: 0,
xAxisIndex: [0,1,2,3,4]
}];