ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Trellis charts
Posted by Alex on Feb-05-2011 06:31
Attachments:
Hey Peter,

I started trying to create my first multichart with Perl and CD and am wondering if there is an easier way to create a trellis chart similar to "THE TRILOGY METER" I've attached.  http://www.juiceanalytics.com/writing/better-know-visualization-small-multiples/

Is creating a Perl script with redundant code for 20 or so charts and merging them with MultiChart the only way to do this with CD?
smallmultiples2.jpg

  Re: Trellis charts
Posted by Peter Kwan on Feb-05-2011 22:59
Hi Alex,

For the chart you attached, all the charts can be generated with the same code, using different data. So if I were you, I would not write "redundant code for 20 or so charts". I would just write the charting code once, and use it in a loop to generate as many charts as necessary and add them to a MultiChart object. The required code to generated as many charts as necessary should not be significantly more than the code required to generate one chart.

Also, you do not have to add them to a MultiChart if they are part of a web page or other types of document. You may also insert them as multiple images in the web page or other documents.

Hope this can help.

Regards
Peter Kwan