Skip to content

类型为gauge ,startAngle = 0, endAngle = 360,是逆时针转,但是axisLine show=true的话成了顺时针? #16632

@Freedomhxb

Description

@Freedomhxb

Version

5.3.0

Link to Minimal Reproduction

1

Steps to Reproduce

    series: [
                    {
                        splitNumber:1,
                        radius: '100%',
                        axisLine: {
                            show: true,
                            roundCap: true,
                            lineStyle: {
                                color: [
                                    [1, new echarts.graphic.LinearGradient(0, 0, 1, 0, [{
                                        offset: 0.1,
                                        color: "#ebfc59"
                                    },

                                        {
                                            offset: 1,
                                            color: "#efcb3a"
                                        }
                                    ])]
                                ]
                            }
                        },
                        progress: {
                            show: false,
                        },
                        splitLine: {
                            show: false
                        },
                        detail: {
                            show: false
                        },
                        axisTick: {
                            show: true,
                            distance:1,
                            length:2,
                            splitNumber:10,
                            lineStyle:{
                                width: 5,
                                color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [{
                                    offset: 0.1,
                                    color: "#ebfc59"
                                },

                                    {
                                        offset: 1,
                                        color: "#efcb3a"
                                    }
                                ])
                            }
                        },
                        axisLabel: {
                            show: false
                        },
                        type: 'gauge',
                        pointer: {
                            show: false,
                        },
                        startAngle:0,
                        endAngle:360,
                    }
                ]

Current Behavior

类型为gauge ,startAngle = 0, endAngle = 360,是逆时针转,但是axisLine show=true的话成了顺时针

Expected Behavior

也是逆时针转

Environment

- OS: windows
- Browser: chrome 98.0.4758.102
- Framework: vue 2

Any additional comments?

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.waiting-for: community

    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