House standards for chart series colours can be set in a default job.ini file. You set the default series properties on Preferences | Job Series:

 

 

 

 

 

 

 

 

 

 

 

 

Also set any other defaults you want, then copy the job.ini file as Template.ini to the parent directory of the projects.

At new job time, you then select Template.ini as this job’s job.ini:

 

 

 

 

 

 

 

 

 

An alternative is to use a template chart.  You make a chart using no variables, call it anything you like, copy to each new job’s \Session, and designate as the chart template here:

 

 

 

 

 

 

 

 

A template chart overrides Job Series.

The chart spec cannot have any variables, because that would presume the same variable name is in all jobs.  That is usually only true of collection variables, like RespID, and we don’t want to use them.

This specification is OK for a completely general chart template:

 

 

 

 

 

 

 

 

 

 

 

Expression and Label for the first, then right click Edit Script

 

 

 

 

 

 

 

 

 

 

 

Copy and paste as many times as needed (the number of series you want to set) using select/control/insert and shift/insert then edit the numbers.  The result is

 

 

 

 

 

 

 

 

 

 

 

Note the top axis must be ins#(#1), with a second #.  #1 means ‘repeat the value as many times as needed to match the opposite axis’.  Without the #, you get just 1×1:

 

 

 

 

 

 

 

 

 

 

A third approach, much preferred by some, is to simply script the lot, and commit all house standards to a private VB Library.  Then you link all job VB projects to your proprietary library.  This is the most flexible approach, because you have complete control over all desired defaults, not just the things we have included by the job.ini or template chart approaches.

See \Ruby\Ruby_RCS_Library.vb for examples of private chart types and formatters.

 

 

Categories:

Tags:

Comments are closed