-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
An inverted waterfall chart is not drawn correctly #5911
Comments
Thank you for reporting this. |
+1 Internal note |
@sebastianbochan I think it worked fine in 4.2.6, but is broken in 4.2.7. |
@jacowley You are absolutey right, my bad. I edited my last comment. |
Hi @jacowley - I agree, this commit is the culprit. Reverting this commit fixes issue with bars positions, but issue with reversed yAxis and connectors remains. |
Demo with fix applied: http://jsfiddle.net/9bqardyp/ |
Expected behaviour
A waterfall chart is drawn correctly in an inverted chart with reversed axis.
chart.inverted: false, xAxis.reversed: false, yAxis.reversed: false
ok http://jsfiddle.net/t2Lha3at/7/chart.inverted: false, xAxis.reversed: true, yAxis.reversed: false
ok http://jsfiddle.net/t2Lha3at/8/Actual behaviour
It seems that when a chart is inverted it caused misplacing of points or connectors depending on axis reversion.
chart.inverted: false, xAxis.reversed: false, yAxis.reversed: true
points ok, connectors misplaced http://jsfiddle.net/t2Lha3at/9/chart.inverted: false, xAxis.reversed: true, yAxis.reversed: true
points ok, connectors misplaced http://jsfiddle.net/t2Lha3at/10/chart.inverted: true, xAxis.reversed: false, yAxis.reversed: false
points misplaced, connectors ok http://jsfiddle.net/t2Lha3at/11/chart.inverted: true, xAxis.reversed: true, yAxis.reversed: false
points misplaced, connectors ok http://jsfiddle.net/t2Lha3at/12/chart.inverted: true, xAxis.reversed: false, yAxis.reversed: true
points misplaced, connectors misplaced http://jsfiddle.net/t2Lha3at/13/chart.inverted: true, xAxis.reversed: true, yAxis.reversed: true
points misplaced, connectors misplaced http://jsfiddle.net/t2Lha3at/14/The text was updated successfully, but these errors were encountered: