Skip to content

Conversation

@rishyanthkondra
Copy link

@rishyanthkondra rishyanthkondra commented Jan 24, 2026

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

  • Donot modify the angle for roseType: 'area' charts strictly

Fixed issues

N.A

Details

Before: What was the problem?

// This example requires ECharts v5.5.0 or later
option = {
  tooltip: {
    trigger: 'item'
  },
  legend: {
    top: '5%',
    left: 'center'
  },
  series: [
    {
      name: 'Access From',
      type: 'pie',
      roseType: 'area',
      radius: ['40%', '70%'],
      center: ['50%', '70%'],
      // adjust the start and end angle
      startAngle: 180,
      endAngle: 360,
      data: [
        { value: 1000, name: 'Search Engine' },
        { value: 500, name: 'Direct' },
        { value: 250, name: 'Email' },
      ]
    }
  ]
};
image

After: How does it behave after the fixing?

image

Document Info

One of the following should be checked.

  • This PR doesn't relate to document changes
  • The document should be updated later
  • The document changes have been made in apache/echarts-doc#xxx

Misc

Security Checking

  • This PR uses security-sensitive Web APIs.

ZRender Changes

  • This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs

N.A.

Merging options

  • Please squash the commits into a single one when merging.

Other information

N.A.

… is not auto

Update angle condition for sector recalculation. 2*PI is default, but when end angle is not auto and span is < 2PI, this will not work.

Issue: rose chart  (roseType=area) angles are not uniform anymore
@echarts-bot
Copy link

echarts-bot bot commented Jan 24, 2026

Thanks for your contribution!
The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.

Please DO NOT commit the files in dist, i18n, and ssr/client/dist folders in a non-release pull request. These folders are for release use only.

Rose chart > `area` type breaks with start and end angles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant