How to get the current scaling value of echarts or achieve year-to-month scaling

the requirement is: the data I get is the data of each month, and the year is required to be displayed at the beginning, and the month can be seen by zooming in. no, no, no. I want to dynamically change the value of xpeny in echarts by getting the zoom parameters. I don"t know if there is any other method

.
Nov.17,2021

Select the starting and ending values when zooming, and query the database details again based on these two values.
get these two values, using the start value: option.dataZoom.start end value: option.dataZoom.end, I'm also trying.


has the landlord solved it?


I don't know what the specific requirements are. I think we can only pass in the data of the year when initializing,-- at first, only render to the year
listen for zooming events, and then setOption to the month

.

get the scaling value: http://echarts.baidu.com/api.

Menu