T Ravi Theja
T Ravi Theja

Reputation: 93

Add/Remove Highstock stock tools?

I have to remove some of the stock tools provided by highstock (for eg: removing full screen option or removing save chart options etc.) for its stock chart with gui. I am not able to find a good way to do that, rather than removing the link to the library for that tool (i.e, removing techincal indicator itself).

Can someone help me out in this? Thanks

Upvotes: 2

Views: 973

Answers (1)

Wojciech Chmiel
Wojciech Chmiel

Reputation: 7372

You can set GUI options in stockTools.gui object.

Code:

  stockTools: {
    gui: {
        buttons: ['simpleShapes', 'lines', 'saveChart' ]
    }
  }

Demo:

API reference:

Upvotes: 1

Related Questions