Version
5.4.3
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=treemap-disk
Steps to Reproduce
echart官方demo: https://echarts.apache.org/examples/zh/editor.html?c=treemap-disk
Current Behavior
缩放过小导致图表消失,消失后无法通过缩放来再次显示,希望可以提供最小zoom来避免消失
Expected Behavior
希望可以提供最小zoom来避免消失
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
5条答案
按热度按时间t5zmwmid1#
@weinixiong It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED
TITLE
[Bug] When the treemap zoom is too small, the chart will disappear completely and cannot be enlarged again, can you limit the minimum zoom
BODY
Version
5.4.3
Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=treemap-disk
Steps to Reproduce
echart official demo: https://echarts.apache.org/examples/zh/editor.html?c=treemap-disk
Current Behavior
Zooming too small causes the chart to disappear. After disappearing, it cannot be displayed again by zooming. It is hoped that a minimum zoom can be provided to avoid disappearing
Expected Behavior
Hope to provide a minimum zoom to avoid disappearing
Environment
Any additional comments?
No response
omtl5h9j2#
As a workaround you can add the restore option:
qc6wkl3g3#
dataZoom的minSpan、minValueSpan配置了解一下
kxe2p93d4#
Seems dataZoom not work on treemaps?
798qvoo85#
dataZoom的minSpan、minValueSpan配置了解一下
dataZoom not work on treemap