Chart+Canvas+Dialog: issue in ChartXYToTimePrice

 

Hello,

I have a chart, over the chart I create a canvas to draw several lines, then I add  a dialog, the order is:

1- Chart

2 canvas+bitmap label on window 0

3-Dialog on window 0

everything is working fine but when I trap CHARTEVENT_MOUSE_MOVE the function

ChartXYToTimePrice is unable to extract date (always 1970) and price (always 0) probably because this function

is working not more over the chart but probably over  the canvas or the dialog.

I changed the order and tried changing window value but no results.


any idea?

Thanks

 

Sorry, fixed!!

everything is working!!