Hi,

I'm trying to draw a bar graph in Revolution using values from an array. I use the following code, repeated for each bar, to draw the graph:

create invisible graphic
set the style of it to rectangle
set the opaque of it to true
set the rectangle of it to startY,tDrawX,tDrawY,startX
set the foregroundColor of it to "#000000"
set the backgroundColor of it to "#9198A0"
set the lineSize of it to 1
show it

This all works very well, but the next time I come to draw the graph, the old rectangles are still sitting there. How can I get rid of them?

Thanks,

Karen


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to