Skip to content

雷达图没有clockwise选项,不能设置顺时针排列 #5190

@iamziyue

Description

@iamziyue

One-line summary [问题简述]

雷达图默认为逆时针,没有设置为顺时针排列的选项

Version & Environment [版本及环境]

  • ECharts version [3.4.0]:
  • Browser version [Chrome最新内核]:
  • OS Version [Win10]:

Expected behaviour [期望结果]

ECharts option [ECharts配置项]

option ={
    "tooltip": {
        "show": false
    },
    "toolbox": {
        "feature": {
            "dataView": {},
            "saveAsImage": {}
        }
    },
    "radar": {
        "indicator": [
            {
                "name": "躯体化",
                "min": 1,
                "max": 5
            },
            {
                "name": "强迫症状",
                "min": 1,
                "max": 5
            },
            {
                "name": "人际敏感",
                "min": 1,
                "max": 5
            },
            {
                "name": "抑郁",
                "min": 1,
                "max": 5
            },
            {
                "name": "焦虑",
                "min": 1,
                "max": 5
            },
            {
                "name": "敌对",
                "min": 1,
                "max": 5
            },
            {
                "name": "恐怖",
                "min": 1,
                "max": 5
            },
            {
                "name": "偏执",
                "min": 1,
                "max": 5
            },
            {
                "name": "精神病性",
                "min": 1,
                "max": 5
            },
            {
                "name": "其他",
                "min": 1,
                "max": 5
            }
        ]
    },
    "series": [
        {
            "type": "radar",
            "areaStyle": {
                "normal": {}
            },
            "data": [
                {
                    "value": [
                        2.83,
                        2.1,
                        3,
                        2.62,
                        2.9,
                        2.17,
                        2.14,
                        2.83,
                        2.9,
                        2.29
                    ]
                }
            ]
        }
    ]
}

Other comments [其他信息]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions