Skip to content

fix(pie): fix pie display NaN labels #14630

Merged
pissang merged 2 commits into
releasefrom
fix-pie-display-nan
Apr 9, 2021
Merged

fix(pie): fix pie display NaN labels #14630
pissang merged 2 commits into
releasefrom
fix-pie-display-nan

Conversation

@pissang
Copy link
Copy Markdown
Contributor

@pissang pissang commented Apr 9, 2021

Brief Information

This pull request is in the type of:

  • bug fixing
  • new feature
  • others

What does this PR do?

This is a bug that happens after this change ecomfe/zrender#730. Because the sector shape will be set to a valid value from NaN before start the animation, which leads to the label being placed at the start.

Also, this PR adds a test case for the fixing in ecomfe/zrender#730

Fixed issues

Details

Before: What was the problem?

image

After: How is it fixed in this PR?

image

Usage

Are there any API changes?

  • The API has been changed.

Related test cases or examples to use the new APIs

NA.

Others

Merging options

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

Other information

@echarts-bot
Copy link
Copy Markdown

echarts-bot Bot commented Apr 9, 2021

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.

The pull request is marked to be PR: author is committer because you are a committer of this project.

@pissang pissang merged commit 15a6880 into release Apr 9, 2021
@echarts-bot
Copy link
Copy Markdown

echarts-bot Bot commented Apr 9, 2021

Congratulations! Your PR has been merged. Thanks for your contribution! 👍

@pissang pissang deleted the fix-pie-display-nan branch April 9, 2021 05:51
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.

2 participants