apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.58k stars 19.62k forks source link

How can I get the number of interies in a single slider interval #9911

Closed Zahma closed 5 years ago

Zahma commented 5 years ago

General Questions

Issue Type

Issue Details

Wind barb sample with many data

I'm following this example : https://ecomfe.github.io/echarts-examples/public/editor.html?c=wind-barb the problem is that I have a lot of data to manage therefore the custom type of the top representing temperature and images, get overlapped. One solution to this problem is to hide this bar according to the number of data elements (either the interval slider is set or not). How can I get the number of data elements inside, renderWeather() ?

Expected Behavior

Current Behavior

Online Example

https://ecomfe.github.io/echarts-examples/public/editor.html?c=wind-barb

Topics

Anything Else We Need to Know

Environment

deqingli commented 5 years ago

sorry, I don't quite understand what you mean, the number of the data elements inside depends on the raw data you provide.