-
Notifications
You must be signed in to change notification settings - Fork 19.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问时间数据支持堆叠吗? #8955
Labels
Comments
传入数据的时候还是传数字,而不是时间,因为理论上时间点和时间点的叠加是没有意义的,只有时长的叠加才是有意义的。 |
如果传时长的话,是不是没法使用 dataZoom 了? |
数据可以这样处理, |
目前静止状态展示正常,但区域缩放时,柱子会超出窗口范围,展示错乱。请问是哪里没设置好吗? |
在是一个已知的 bug #8935 会尽快修复。别的没问题的话可以 close 这个 issue 了。 |
好的。 |
This was referenced Mar 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One-line summary [问题简述]
在做甘特图,需要时间数据进行堆叠,但好像现在不支持时间数据的堆叠展示?
因为要用 dataZoom,如果把数据转换为数值的话,堆叠是正常的,但 dataZoom 就不能用了。
如果设置 barGap 为 '-100%',可以使柱子重叠,在此基础上,增加了一个坐标系为隐藏,但 barGap 对 series 中所有柱子生效,还是不能实现甘特图。barGap 能否设置为只针对某一坐标系下的 series 柱子重叠?
Version & Environment [版本及环境]
在官网运行下面的例子
Expected behaviour [期望结果]
希望时间数据可以堆叠,或者有什么方法将时间数据转换然后展示正常,并且 dataZoom 可用。
ECharts option [ECharts配置项]
Other comments [其他信息]
The text was updated successfully, but these errors were encountered: