jahnvi25
Posts: 284
Joined: Thu Oct 04, 2012 12:16 pm

custom annotation via stock tool

is there a easy way or documentation about writing custom annotation .. via stock Tools.. meaning creating our own mapping and write custom formula and init method as well ? and it should behave similar to one of the stock Tools GUI --> annotations ?

Thanks
jakub.s
Posts: 1075
Joined: Fri Dec 16, 2022 11:45 am

Re: custom annotation via stock tool

Hi,

Thanks for the question!

If I understand you correctly, you can add custom buttons to StockTools with navigation.bindings - https://api.highcharts.com/highstock/na ... n.bindings

Here's a simple demo showing how to add custom annotation via StockTools: https://jsfiddle.net/BlackLabel/Lzovnsp4/

Let me know if that's what you were looking for.

Best regards!
Jakub
Highcharts Developer
jahnvi25
Posts: 284
Joined: Thu Oct 04, 2012 12:16 pm

Re: custom annotation via stock tool

sorry for confusion.. what i want is to add actual binding with new class/binding. like implement/customized version of rectangle annotation.. so would have to create new binding like (highcharts-rectangle-annotation) and implement all necessary methods so it behaves like customized version of rectangle annotation.. since we have license. i emailed the technical support with few extra questions.. so you can ignore this.. if you would like
jakub.s
Posts: 1075
Joined: Fri Dec 16, 2022 11:45 am

Re: custom annotation via stock tool

Apologies for my misunderstanding.

I see that you've already contacted our technical support regarding this feature so I'll freeze this topic for now.

Feel free to let me know when you want to continue this discussion here, on Highcharts forum.

Kind regards!
Jakub
Highcharts Developer

Return to “Highcharts Stock”