Klaus:

Thanks a heap. Will test that for v1.1

Sarah: You had a major part in making it happen. Thanks again for the random data code. :)

Victorias: I hope it is useful.

Andre:

chartsCreateChart can take additional parameters. The first one being the name of the group you create, followed by a rectangle. This rectangle can of course be off screen. Right now chartsEngine always draws on the current card of the topstack, but most likely this will be extended in the next iteration.

Here is a quick demo script (out of the top of my head, so watch for typos.)

on mouseUp pMouseBtnNo
    local tChart
    chartsCreateChart "myChart",0,-700,700,0
-- only needed once! Or use any existing group, with lockloc set to true.
    put the result into tChart
    set the charts["data"] of tChart to "120,2"&cr&"2,120"
    -- now set your properties
    chartsRefresh tChart
     -- turn it into an image
export snapshot from rect (the rect of tChart) of tChart to file "/path/to/file" as PNG
end mouseUp





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

Reply via email to