Search found 4 matches

by leyris
Sat May 21, 2022 6:44 am
Forum: Bookmap API
Topic: Getting mouse coordinates on heatmap canvas
Replies: 5
Views: 3733

Re: Getting mouse coordinates on heatmap canvas

I made good progress thanks to your code. I managed to get the time at which the mouse is clicked. After carefully rereading the examples, I have found that there are some helpers than can convert pixel coordinates into time coordinate directly (in SSP demos), so maybe I should have started with thi...
by leyris
Tue May 17, 2022 6:02 pm
Forum: Bookmap API
Topic: Getting mouse coordinates on heatmap canvas
Replies: 5
Views: 3733

Re: Getting mouse coordinates on heatmap canvas

Thanks for that! I was not expecting that much :) I will give a try later this week and keep you posted
by leyris
Mon May 16, 2022 9:34 pm
Forum: Bookmap API
Topic: Getting mouse coordinates on heatmap canvas
Replies: 5
Views: 3733

Re: Getting mouse coordinates on heatmap canvas

Thanks Andrey for the response. I get the overall idea. Quick follow-up question: do you happen to know the name of the top level instance of the component tree you are referring to ? Can I access it via the api var of: public void initialize(String alias, InstrumentInfo info, Api api, InitialState ...
by leyris
Tue May 10, 2022 6:55 am
Forum: Bookmap API
Topic: Getting mouse coordinates on heatmap canvas
Replies: 5
Views: 3733

Getting mouse coordinates on heatmap canvas

Hi, I am currently developing an add-on. In short, the heatmap coordinates as time and price pointed by the mouse needs to be retrieved so the add-on can add graphic objects on the heatmap canvas. I have a pretty good idea on how to draw them since there are the SSP canvas examples available which d...