Closed electroheadfx closed 3 weeks ago
hmm I can do that if I setup start and end on any abject with the axis specified:
const dataZoom = [
{
type: 'inside',
xAxisIndex: 0 // <-- here
start: initZoomState[0], // NEW !
end: initZoomState[1], // NEW
},
{
type: 'inside',
yAxisIndex: 0 // <-- here
start: initZoomState[0], // NEW !
end: initZoomState[1], // NEW
}
]
What problem does this feature solve?
I have setup min and max of Y axis, controlled by the app, when echarts open I apply a percent xAxis pre-zoom to dataZoom via api, but I would like too apply to yAxis. Is the dataZoom may be independant axiss ?
What does the proposed API look like?
Via API or option we could setup the config with: