Defining bars in a report
Issue 3.0 May 2002
83
Also, if a bar’s expression is a database item that stores a number of seconds, the bar
normally shows time as seconds. However, you can make the bar represent minutes by
dividing the database item by 60.
In addition, to complete your definition of bar data, you must, as for field data, define row
search conditions for the bars. This includes whether a bar you define will be repeated to
display multiple bars for multiple values. See
Defining the rows of data for a report
on
page 88.
Define the Tables for Calculation names
Enter a table name in the
Table for calculations
field only if you entered a
calculation name in the
Select
field. The table name tells CMS in what table to look for
the database items in the calculation.
Note:
The
Table for calculations
field is necessary when using
calculation names because you cannot append a table name to a
calculation name in the
Select
field.
Define the bar direction
Enter
x
in the
Bar direction
list to select either a horizontal or vertical format for the
bar.
Vertical
means the bar’s length is oriented up and down.
Horizontal
means
the bar’s length is oriented left and right.
Define the bar scale
Enter
x
to select an option in the
Scale
list.
●
Scale with tick marks
The scale is displayed in the report as a line, segmented by evenly spaced marks (see
the following figure). For a vertical scale, a tick mark is displayed for each vertical
character space. For a horizontal scale, a tick mark is displayed at every fifth horizontal
character space.
●
Scale without tick marks
The scale automatically is displayed in the report as a line parallel to the bar (see the
following figure). The line will be a fixed length equal to the maximum length of the bar.
In this way, the end of the scale always represents the maximum graph value you
define.