Skip to content

[Bug] 仪表盘顺时针和轴线展示的不一致 #17633

@izrio

Description

@izrio

Version

5.3.3

Link to Minimal Reproduction

No response

Steps to Reproduce

1.create gauge
2.option -->

option = {
  tooltip: {
    formatter: '{a} <br/>{b} : {c}%'
  },
  series: [
    {
      name: 'Pressure',
      type: 'gauge',
      clockwise: true,
      detail: {
        valueAnimation: true,
        formatter: '{value}'
      },
      data: [
        {
          value: 50,
          name: 'SCORE'
        }
      ],
      axisLine:{"roundCap":true,"lineStyle":{"width":16,"color":[[0.3,"#C9781B"],[0.7,"#F163EA"],[1,"#6366F1"]]}}
    }
  ]
};

3.result ->image

Current Behavior

仪表盘开启clockwise:true, 同时开启axisLine的roundCap 和 分段颜色, 圆角不是顺时针展示的

Expected Behavior

顺时针展示圆角

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions