Re: Charts/Graphs - Best application for automation?
Re: Charts/Graphs - Best application for automation?
- Subject: Re: Charts/Graphs - Best application for automation?
- From: George Mack <email@hidden>
- Date: Mon, 22 Jul 2002 18:59:56 -0400
john mead <email@hidden> wrote
Subject: Charts/Graphs - Best application for automation?
To: email@hidden
I'm trying to automate the production of some pie
charts and bar graphs. The libraries that I've checked
out (mostly commercial java packages) are geared
toward generating low resolution bitmaps for internet
use. I'm interested in creating vector-based artwork
that can be opened and edited in Illustrator, and
imported into Quark for printing. To further
complicate matters, the artwork needs to be in the
CMYK color space.
I don't think creating routines in Applescript to draw
the graphs in Illustrator is feasible as this is going
to be part of a largely unmonitored, back office
system.
Has anyone used a graphics library, or scriptable
graphics application that is capable of producing
Illustrator files, or suitable EPS files which
Illustrator can parse into paths? Also, is there an
application which can turn an RGB EPS file into a CMYK
EPS file via scripting?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
Shane Stanley posted a pie-chart drawing script for Illustrator (v9 I
think) which might provide the basis for what you want. (I've
forgotten where I came across it; probably a download since it's
fairly large for a posting.)
Since the graphing part of Illustrator isn't scriptable (as far as I
can tell) you have to write the code to generate primitive shapes.
But, given that, you might be able to make it a handler that would
generate the graph from a list of values passed as a parameter.
on DrawGraph (pie, ValueList)
...[Shane's modified code here]
end DrawGraph
Hmm. Time for some late-night lab work...
George
--
Please note our new e-mail address: gmdesign @ attbi.com
GEORGE MACK DESIGN - Scituate, MA 02066 - (781) 544-3880
email@hidden * Design - Illustration - Desktop Publishing
If it was easy, anyone could do it.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.