[ANN] chartsEngine - now on revSelect
revolution at derbrill.de
Fri Feb 20 08:39:49 CST 2009
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.
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
on mouseUp pMouseBtnNo
-- only needed once! Or use any existing group, with lockloc set
put the result into tChart
set the charts["data"] of tChart to "120,2"&cr&"2,120"
-- now set your properties
-- turn it into an image
export snapshot from rect (the rect of tChart) of tChart to file
"/path/to/file" as PNG
More information about the use-livecode