i have a script creating an overlay plot, it looks something like that:
new window(outlinebox("Txt1", outlinebox("Txt2", OLP=overlay plot("Title", code))));
now if i want to make any change to the overlay plot i can simply reference OLP (e.g. OPL<<:Series1( Connect Points( 0 ), Show Points( 0 ) )).
my problem is that in my code i can't reference to OLP. Is there a way to get a reference from a report to an overlay plot object? i'm only able to get a reference to it a as display box which doesn't enable me to make the changes i want.
I've managed to get this far, the problem is that r1 is a reference to a display box (same properties as display box) and not a platform object.
BTW, this problem can be resolved by naming the overlay plot: OLP=Overlay plot(......).
than OLP<<:height (show points(0)) accomplishes the job.
however, in my code i have several windows and OLP references only the latest one, so i order to make that change to an overlay plot which is not the latest one i need to somehow reference it by obtaining the platform object.