Version
4.9.0
Steps to reproduce
- Add data series with step line.
- Add data zoom slider.
Furthermore, it seems to treat the data as categories instead of a time series, even when the corresponding axis is correctly configured as time type. This is also clear because each data point is evenly spaced apart, ignoring the time series.
What is expected?
Preview should closely match step line data series.
What is actually happening?
Preview is drawn in regular style, ignoring steps.
7条答案
按热度按时间gojuced71#
Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.
If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org . Please attach the issue link if it's a technical questions.
If you are interested in the project, you may also subscribe our mail list .
Have a nice day! 🍵
vsmadaxz2#
Could it be the dollar sign ($) in front of the prices? If so, they are not numbers.
This code works fine:
0mkxixxg3#
No. The data does not include dollar signs. Furthermore, your example is not a real time series, it's a category series where the categories are dates. A real time series does not necessarily increment in even intervals: there may be large, irregular gaps. In the case there are irregular intervals, the data zoom background displays incorrectly. Even in your example, it does not display in a stepped fashion.
q5lcpyga4#
@pissang This is still a major omission from the data zoom component. Is there any plan to address the series preview in either v4 or v5?
wecizke35#
@Bilge Planned in 5.2.0.
erhoui1w6#
@pissang Can this get a new milestone?
4xrmg8kj7#
The preview in the slider can be very useful. But the preview does not always align with the actual view above it for X-Axis and similarly for the vertical Axis. In the case of a line graph, miss alignment is more evident when data points are fewer. The behavior can be realized with this example.
A way to closely align the slider preview with rendered lines/content will be very useful.