Neeraj
Neeraj

Reputation: 4489

Enable/Disable `Navigator` pane in Highchart

I want to enable/disable Navigator pane of highchart by some Javascript/Jquery code but not find any suitable code or clue to do that.

Please help me.

I have created jsfiddle for some sample to achieve that

JsFiddle

-Neeraj

Upvotes: 1

Views: 501

Answers (1)

user9019817
user9019817

Reputation:

You just need to change the click function to this:

$('#Navigator').click(function () {

    chart.update({
        navigator: {
            enabled: false
        }
    });

});

The navigator enabled setting needs adding within the update.

Upvotes: 2

Related Questions