mcin8130
Posts: 2
Joined: Tue Jul 13, 2021 8:07 pm

rangeSelector not showing selected if navigator false xAxis endOnTick true

Found a possible bug with a config combination where the rangeSelector buttons will not show which button is selected if the navigator enabled is false AND the xAxis endOnTick true. This unique combination seems to disable the visual button selection but it still does have the correct one selected. Selecting buttons interactively will also not highlight (but does still change the range).

Code: Select all

//Adding the below to a stock chart makes the range buttons not show a selection
navigator: {
          enabled: false
        },
        xAxis: {
          endOnTick: true
        },
You can add the above configuration to this JSFiddle to see the Range buttons will no longer be highlighted as selected. If you change the endOnTick to false or enable the navigator the selections will show again.

Thanks for any help with this or possibly verify if a bug.
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: rangeSelector not showing selected if navigator false xAxis endOnTick true

Hello mcin8130!

Welcome to our forum and thanks for contacting us with your question!

I think that it might be a bug, so please report it on our GitHub. This is the place for bugs and feature requests.

Here you've got a link: https://github.com/highcharts/highchart ... new/choose

Best regards!
Dominik Chudy
Highcharts Developer
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: rangeSelector not showing selected if navigator false xAxis endOnTick true

That's great!

In case of any further questions, feel free to contact us again.
Dominik Chudy
Highcharts Developer

Return to “Highcharts Stock”