vijaygudla
Posts: 93
Joined: Wed Sep 04, 2013 10:26 am

How to stop Navigator Y Axis in Highstock

Hi,

I created simple chart with navigator enabled. But it is generating extra (navigator series and navigator yAxis).
I put the option for series (showInNavigator false property for series) . It is not showing .
How to stop navigator yaxis generated in Highstock.

Can you please suggest any property for this.


Thank you.
wojtek
Posts: 433
Joined: Tue Jul 03, 2018 12:32 pm

Re: How to stop Navigator Y Axis in Highstock

Hi vijaygudla,

I do not fully understand what you are trying to achieve. Could you send me a simplified online example (jsfiddle) of your chart with an additional explanation?

Kind regards.
Wojciech Chmiel
Highcharts Developer
vijaygudla
Posts: 93
Joined: Wed Sep 04, 2013 10:26 am

Re: How to stop Navigator Y Axis in Highstock

Hi wojtek ,

I want to either remove navigator yaxis/ not to generate in chart.

Below is the fiddler example : https://jsfiddle.net/jas2pot1/258/
Click on Update this will show multiple yaxis.

1.user series yaxis
2. navigator yaxis.

i tried to remove navigator yaxis, but it is throwing error.

please suggest
wojtek
Posts: 433
Joined: Tue Jul 03, 2018 12:32 pm

Re: How to stop Navigator Y Axis in Highstock

vijaygudla,

You don't have to remove it. Set navigator.yAxis.visible = true and it won't be plotted on your chart. Check the demo.

Code: Select all

    navigator: {
      enabled: true,
      yAxis: {
      	visible: true
      },
      xAxis: {
      	visible: false
      }
    }
Demo:
https://jsfiddle.net/wchmiel/hvxzyutL/

Api reference:
https://api.highcharts.com/highstock/na ... is.visible

Kind regards.
Wojciech Chmiel
Highcharts Developer
vijaygudla
Posts: 93
Joined: Wed Sep 04, 2013 10:26 am

Re: How to stop Navigator Y Axis in Highstock

Thank you for example. But in this case while loop through chart yaxis it is showing navigator yaxis.
I have lot of logic on yaxis count. i can filter out by yaxis name.

But is there any property not to generate navi yaxis.?
How can we remove navigator yaxis?


Thanks
wojtek
Posts: 433
Joined: Tue Jul 03, 2018 12:32 pm

Re: How to stop Navigator Y Axis in Highstock

vijaygudla,

To remove it from chart object you will have to disable chart navigator completely. Otherwise, it is not possible.

Code: Select all

    navigator: {
      enabled: false
    }
Kind regards.
Wojciech Chmiel
Highcharts Developer

Return to “Highcharts Stock”