tmtron commented on issue #15775:
URL: https://github.com/apache/echarts/issues/15775#issuecomment-994536867


   # Use case
   
   ## Initial view
   When we first show the chart, we display a high-level view of all available 
data - this is some aggregation data (e.g. when we show 5 years of data, we may 
have 1 data-sample per week)  
   
![image](https://user-images.githubusercontent.com/20422904/146154394-1b1de882-70cf-490c-8fbe-14d847cf4b8f.png)
   
   ## Zoom
   When the user wants to see more details, they can use the zoom slider to 
zoom in to a part of the "coarse" data: e.g. zoom to 3 months (of the full 2 
years data):  
   
![image](https://user-images.githubusercontent.com/20422904/146155032-d34d04df-b465-4e83-8eb2-846c6e8bd59f.png)
   
   Note, that we did not load any new data - it's just the echarts zoom 
function: i.e. now the user will only see a part of the initial data - it is 
still "coarse" data (1 data-sample per week)
   
   ## Reload zoomed range
   When the user now wants to see more details for the zoomed range, they can 
click on the zoom slider: we will reload more fine-grained data from the server 
for the currently selected date-range:  
   
![image](https://user-images.githubusercontent.com/20422904/146155372-9f17ebb6-a5f5-47b7-8182-b01271d1d4d9.png)
   
   Note, that the recorder now loaded the new data from the server. This now 
shows exactly the data-range (27‑03‑2020…24‑06‑2020) that was previously 
selected in the data-zoom slider.  
   This new data is now much finer: i.e. we now have 1 data-sample per 6 hours 
- so you can see much more details than in the previous step.
   
   # Summary
   So actually we need an event that fires when the user clicks on the 
data-zoom slider. It would be great if this event could also include the 
currently selected range: i.e. start/end like the 
[datazoom-event](https://echarts.apache.org/en/api.html#events.datazoom)
   
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to