Ah! I found a clue to how I might be able to do
this. (it was in my own Infoselect database) but could use additional
help
in how to manage the image size if possible.
Best regards
Joe
Example script:
AB = new ActiveXObject("Broker.Application");
AB.ActiveWindow.ExportImage("Test.png");
----- Original Message -----
Sent: Tuesday, March 07, 2006 6:53
AM
Subject: [amibroker] jScripts to
produce and save PNG plots.
Hi Gents: (Fred, Dingo,
Dan)
I'd like to produce 5 plots
produced from 5 equity composites for a web
site.
I'm tracking "guru" stock
pickers on a web site and I'd
like to automate the production of the image
display of their record on a weekly
basis.
Being a real "code monkey", I know how to string batch steps using
jScript to produce these equity curves(ATCs),
but I'd like to automate
and produce, save the PNG images in order that I could post
them and display them on the web site.
I know this was discussed several months
ago when it came to controlling the shape/size of the png image but
I can't find the
discussion nor the object/method in
the COM model that will give me the
hooks to do this. (I promise, I
googled it on purebytes
and couldn't find it but maybe it's more recent than
that). Fred in IO is able to drive this function
to produce the backtest version of the
equity plot, but my requirement is more simple than that.
I guess if the image had an Amibroker
watermark/attribution it would be all the better for the author and
community. (;>
Thanks in advance
JOE