Skip to content

[Bug] gauge 图表中 设置axisLabel 的padding 上边距无效,但是在4.x版本中是有效的 #19425

@flywin8

Description

@flywin8

Version

5.4.3

Link to Minimal Reproduction

Steps to Reproduce

option = {
  tooltip: {
    formatter: '{a} <br/>{b} : {c}%'
  },
  series: [
    {
      name: 'Pressure',
      type: 'gauge',
      progress: {
        show: true
      },
      axisLabel:{
        padding:[10,0,0,0],
      },
      detail: {
        valueAnimation: true,
        formatter: '{value}'
      },
      data: [
        {
          value: 50,
          name: 'SCORE'
        }
      ]
    }
  ]
};

Current Behavior

Expected Behavior

目前希望只显示最小值和最大值,并且显示在仪表盘半环开始和结束位置正下方,而不是环内

Environment

- OS: windows
- Browser: EDGE
- Framework: 5.4.3

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions