Skip to content

[Bug] When polar coordinates are negative, it still renders the bar from 0. #16840

@BillYu811

Description

@BillYu811

Version

5.3.0

Link to Minimal Reproduction

https://codepen.io/billyu811/pen/QWaQZvg

Steps to Reproduce

1.I want to create a polar chart as usual, but it has negative values ​​on the radius axis.
2.I got data from BE use axios.
3.I didn't get the effect I wanted,I want it to fill the bar towards positive numbers starting from a minimum value.
But it turned out to be this:
https://codepen.io/billyu811/pen/QWaQZvg
4.then I tried to change the min, max, scale, axisLine.onZero of the radius axis, they are not work.
I can't find a solution in the doc.
Until I saw a PR that seemed to fixed the same problem.But I don't know why it reappeared.
#12418

Current Behavior

I want to create a polar chart, but I got the opposite bar.

Expected Behavior

I want fill the bar towards positive numbers starting from a minimum value.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

Please let me know if I'm using a wrong option, or something is wrong with my code, or if it's just a bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.waiting-for: community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions