Page 1 of 1

How to Overwrite an Existing Text?

Posted: Tue Dec 18, 2012 1:33 pm
by gio.ortolani
Hi everybody!

Every month I shall update some graphs that have the following text, as an example: "prices of November 2012".

I use the following code:

Code: Select all

graph01.addtext(2.77,2.77) "prices of November 2012"
However, in December, I must update them and, if I use

Code: Select all

graph01.addtext(2.77,2.77) "prices of December 2012"
the code will not overwrite it, but it will superimpose the old text with the newer one.

Is there a way to overwrite it or change the existing text?

Thanks,
Giovanna

Re: How to Overwrite an Existing Text?

Posted: Tue Dec 18, 2012 1:59 pm
by EViews Gareth
Unfortunately not when you're using your own co-ordinates :(

Re: How to Overwrite an Existing Text?

Posted: Tue Dec 18, 2012 6:12 pm
by gio.ortolani
Damn it! What if I do not use my own coordinates? How the code would be? :roll:

Re: How to Overwrite an Existing Text?

Posted: Tue Dec 18, 2012 6:13 pm
by EViews Gareth
Just add a blank piece of text to the same location.