Skip to content

[Bug] jitter not working in Y Axis Config #21728

Description

@flybbjcs70

Version

6.1.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=scatter-simple&code=yy8oyczPU7BVqOZSUKhwrMgstgIzFRRKKgtSrRTUkxNLUtPziyrVdcCiKYkliVYK0eqJ6rFAfi1IsJJ4XRUV6rEQkazMkpLUIisFYwMDmDnFqUWZqUCDosEKIMYBRStzk_JzgjOrgMYaGUA0ww2E8kAA5CQdkAU6hlAr0MWNRsUHiTicAU0txcDkAkwN6mDRWiAZy1VrDQA&enc=deflate

Steps to Reproduce

option = {
  xAxis: {
    type: 'category',
    data: ['a'],
    jitter: 300
  },
  yAxis: {
    type: 'category',
    data: ['xx'],
    jitter: 300
  },
  series: [
    {
      symbolSize: 20,
      data: [
          ['a','xx',1],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
          ['a','xx',2],
      ],
      type: 'scatter'
    }
  ]
};

Current Behavior

散点y轴没随机偏移

Expected Behavior

散点y轴随机偏移

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions