Setting minPointLength on a reversed x-axis xrange-chart will squish all ranges to minPointLength #8933
Labels
Comments
Hi @satub Thank you for reporting this bug! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
https://jsfiddle.net/96m1jcuv/4/
Demo created by starting with official jsfiddle x-range demo at https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/x-range/
Steps to reproduce:
Change one of the datapoints to have same start and stop time
Set

minPointLength: 1
.===>
Set x-axis to

reversed: true
====>
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.
The text was updated successfully, but these errors were encountered: