Skip to content
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

Setting minPointLength on a reversed x-axis xrange-chart will squish all ranges to minPointLength #8933

satub opened this issue Sep 11, 2018 · 1 comment


Copy link

@satub satub commented Sep 11, 2018

Expected behaviour

When setting minPointLength to 1, xranges with 0 length should show up as if a vertical line, while wider xranges should render normally.

Actual behaviour

When x-axis is reversed, all ranges are squished into lines with width of 1, regardless of their width.

Live demo with steps to reproduce

(Template address gives me 404)
Demonstration fiddle:

Demo created by starting with official jsfiddle x-range demo at

Steps to reproduce:

  1. Change one of the datapoints to have same start and stop time

  2. Set minPointLength: 1 .
    screen shot 2018-09-11 at 10 03 29 am

  3. Set x-axis to reversed: true
    screen shot 2018-09-11 at 10 03 47 am

Product version

highcharts v. 6.1.1
highcharts-react-official v1.3.0

Affected browser(s)

Chrome, Safari

Edit: x-range works normally when reversed as long as the minPointLength is not set.

Copy link

@pawelfus pawelfus commented Sep 12, 2018

Hi @satub

Thank you for reporting this bug!

@pawelfus pawelfus added the Type: Bug label Sep 12, 2018
@pawelfus pawelfus self-assigned this Sep 12, 2018
pawelfus added a commit that referenced this issue Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.