echarts dataZoom在X轴为time类型的曲线图展示错误

x6492ojm  于 2022-11-13  发布在  Echarts
关注(0)|答案(2)|浏览(274)

Version

4.6.0

Steps to reproduce

https://codepen.io/Leesson/pen/rNaKLXm

What is expected?

dataZoom中数据分布与表中曲线保持一致,按照时间分布。而不是根据传入的data数量平均分布

What is actually happening?

dataZoom的数据分布和曲线图不一致,不是按照时间分布。看效果像是dataZoom将传入的data根据数量平均分布在X方向,导致数据和时间不对应。曲线图后边没有数据的部分占据了X轴将近二分之一,但在dataZoom中只占据了很短一段(dataZoom中value和时间的对应关系错误)

oxcyiej7

oxcyiej71#

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! 🍵

nx7onnlm

nx7onnlm2#

请问您后来解决了吗,我也遇到相同的问题

相关问题