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
Inverted histogram cuts off the first bar and leaves extra space at the bottom of the axis #11955
Comments
Hi @wenyichen Thanks for reporting the issue. @Denyllon - could you take a look? Workaround: |
Hi @pawelfus Nice workaround, fixed the bar cutting off for me, but there is still the issue of the alignment with the axis labels. |
Hard to say without seeing this live. Could you create a demo? Thanks! |
The problem is in the way of how the Internal Note: Lines 4404 to 4406 in 638ec15
Live example (based on histogram) with fix applied: https://jsfiddle.net/BlackLabel/ejLa10m9/ Kind regards! |
Makes sense. Thanks for the fix! |
Expected behaviour
When inverted, the histogram should display all the bars with the same width
Actual behaviour
When inverted, the histogram cuts off the first bar and leaves extra space at the bottom.
Live demo with steps to reproduce
https://jsfiddle.net/jeq4ycwn/
Renders incorrectly with inverted set to false, correctly with inverted set to true
The bar that represents 3.10-3.92 lines up with the label such that 3.10 < 3.
Product version
Highcharts/Highstock 7
Affected browser(s)
Chrome, Firefox, Safari, did not test Edge
The text was updated successfully, but these errors were encountered: