echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] 极坐标polar angleAxis.axisPointer 设置"status": "show"和value后默认没有显示指定轴提示

Open hanwbcode opened this issue 3 years ago • 3 comments

Version

5.3.3

Link to Minimal Reproduction

No response

Steps to Reproduce

option = {
  "tooltip": {
    "trigger": "axis"
  },
  "polar": {
  },
  "radiusAxis": {
  },
  "angleAxis": {
    "type": "category",
    "boundaryGap": false,
    "axisPointer": {
      "show": true,
      "status": "show",
      "type": "shadow",
      "value": "10"
    },
    "data": ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23"]
  },
  "series": [
    {
      "name": "SUCCESS",
      "stack": "total",
      "type": "bar",
      "barCategoryGap": 0,
      "coordinateSystem": "polar",
      "emphasis": {
        "focus": "series"
      },
      "label":{
        "show":true
      },
      "itemStyle": {
        "color": "#91CC75"
      },
      "data": [20, 18, 22, 10, null, null, 10, null, null, null, 10, null,null,null,null,null,null,null,null,null,null,null,null,null,null]
    }
  ]
}

Current Behavior

在使用polar极坐标时,我要设置坐标轴指示器(axisPointer),比如加载完成后默认显示10这个位置,但是设置 angleAxis.axisPointer.status: "show"和value后默认没有显示指定轴提示

Expected Behavior

预期应该默认展示出10这个轴的提示

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

hanwbcode avatar Jun 17 '22 05:06 hanwbcode

Nice! Thanks for contributing!

imaNNeo avatar Aug 26 '24 22:08 imaNNeo