Replacing drawing objects when chart is moving/zooming

Have a QScript to share, or need help with programming? Post your comment here.
Post Reply
UweF
Posts: 4
Joined: Fri Nov 13, 2015 4:00 pm
Contact:

Replacing drawing objects when chart is moving/zooming

Post by UweF » Tue Nov 17, 2015 10:45 pm

Hi all,

when I use the drawing tools in a qscript how I can replace my drawing objects (line, rectangle ...) when the chart will be zoomed, moved, scaled or whatever replaces the the candle bars on the canvas. What I mean is that I need a mechanism to move the drawing objects in the same moment when the chart itself moves over the canvas in the correct relation I have placed the drawing objects initially.
Is there something like events for zooming , moving, scaling and so on?

Many thanks in advance.

UweF

kjociii
Posts: 15
Joined: Tue Jul 21, 2015 9:15 pm
Contact:

Re: Replacing drawing objects when chart is moving/zooming

Post by kjociii » Wed Nov 18, 2015 1:35 am

Unfortunately, there is nothing that automatically adjusts the drawing tools when the chart is changed. The easiest way I have found to reset the drawing tools is ctrl-k, which does the same thing as options -> recalculate all.

Kenn
Wave59 Solution Provider
Custom QScript Programming
kenn@scriptbuilder.net

UweF
Posts: 4
Joined: Fri Nov 13, 2015 4:00 pm
Contact:

Re: Replacing drawing objects when chart is moving/zooming

Post by UweF » Wed Nov 18, 2015 8:25 am

Ok, than I have to do it manually.

Many thanks and best regards
Uwe

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests