Skip to content

[Bug] 6.0版本 treemap scaleLimit 配置项失效 #21426

Closed

Description

@liuyizhou

Version

6.0.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=treemap-simple

Steps to Reproduce

在官方示例 https://echarts.apache.org/examples/zh/editor.html?c=treemap-simple 中,
option = { series: [ { type: 'treemap', **scaleLimit: { min: 1 },** data: [ { name: 'nodeA', value: 10, children: [ { name: 'nodeAa', value: 4 }, { name: 'nodeAb', value: 6 } ] }, { name: 'nodeB', value: 20, children: [ { name: 'nodeBa', value: 20, children: [ { name: 'nodeBa1', value: 20 } ] } ] } ] } ] };
新增scaleLimit.min = 1,放大后不能缩小

Current Behavior

放大后或其他任何情况下,无法缩小

Expected Behavior

新增scaleLimit.min = 1 时,预期不能缩小至100%以下

Environment

- OS: macOS
- Browser: Chrome
- Framework: React

Any additional comments?

之前版本表现正常

Activity

  1. added
    en
    pending
    on Dec 16, 2025
  2. added a commit that references this issue on Dec 16, 2025
    e2cb0ba
  3. added
    regression
    and removed
    pending
    on Dec 16, 2025
  4. 100pah commented on Dec 20, 2025

    @100pah
    Member

    Fixed by #21426

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenregression

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions