-
Notifications
You must be signed in to change notification settings - Fork 19.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] When polar coordinates are negative, it still renders the bar from 0. #16840
Comments
I'm sorry to close this issue for it lacks the necessary title. Please provide a descriptive and as concise as possible title to describe your problems or requests and then the maintainers or I will reopen this issue. Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see. A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it. Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches. |
Interestingly enough, I find all bar charts start at 0. And since radius axis bar charts are based on original charts, they must also start at 0. @pissang Does Echarts need a new feature to accept a number instead of 0 as the starting value of the bar chart? Code Sample
|
First of all, thanks for your reply, have a happy weekend, This sample seems to solve my problem to a certain extent, But I'm worried that when my data changes I also have to modify my FE code =>
All in all, I think maybe we need a new feat that accepts a value as a starting value?
|
Also I found an interesting thing, when I used "pyechart" to render the result I wanted, it did what I expected. Like the example below:
|
I guess that's because the result you want is the problem that #12418 wants to solve. Anyway, glad that you find a way to solve it. |
I'm very sorry for my short description, it caused you to misunderstand what I meaning.Please allow me to express in more details:
please let me know your idea.
|
Any update? @jiawulin001 @pissang |
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue. |
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks! |
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
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.
The text was updated successfully, but these errors were encountered: