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

Bar chart incorrectly positioned on initial load #7339

Closed
jestersoda opened this Issue Oct 31, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@jestersoda

jestersoda commented Oct 31, 2017

Expected behaviour

The bar chart should be vertically centred on initial load.

Actual behaviour

The bar chart is positioned higher on initial load which also causes it to appear thinner. Upon redrawing the chart, the position is then corrected. This behaviour seems to have started from v5.0.13.

Live demo with steps to reproduce

Positioned higher on initial load, but centred upon clicking Redraw: https://jsfiddle.net/g19ar607/
Positioned correctly in v5.0.12: https://jsfiddle.net/dr9j6ws0/

Affected browser(s)

Google Chrome 61.0.3163.100

@pawelfus pawelfus added the Regression label Nov 2, 2017

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus Nov 2, 2017

Contributor

Hi @jestersoda

Thank you for reporting this bug: it's a regression after da2557a

Workaround:
Set xAxis.min=0 and xAxis.max=1: https://jsfiddle.net/dr9j6ws0/1/

@KacperMadej

Contributor

pawelfus commented Nov 2, 2017

Hi @jestersoda

Thank you for reporting this bug: it's a regression after da2557a

Workaround:
Set xAxis.min=0 and xAxis.max=1: https://jsfiddle.net/dr9j6ws0/1/

@KacperMadej

@KacperMadej KacperMadej self-assigned this Nov 6, 2017

@KacperMadej

This comment has been minimized.

Show comment
Hide comment
@KacperMadej

KacperMadej Nov 6, 2017

Contributor

Looks like tick on axis for zero is doubled, while there's no need for it. I will try to resolve the problem through removing the source of the doubled tick.

Contributor

KacperMadej commented Nov 6, 2017

Looks like tick on axis for zero is doubled, while there's no need for it. I will try to resolve the problem through removing the source of the doubled tick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment