Black Box A/C-7S RO Cable Box User Manual


 
104
A/C-7P RO, A/C-7S RO
Next, determine the
approximate maximum height
and width of the chart. In the
example, 40 was the expected
maximum number of calls. We
chose to represent 10 calls by
one inch, resulting in a total
maximum height of four inches
(not including the title and
subtitle.) Similarly, each day was
represented by one inch,
resulting in a total maximum
width of five inches (not
including the space needed for
the label “WEEKDAY”).
4.If the chart is being printed on a
black-and-white PCL printer, the
order in which these elements
are created is irrelevant.
However, if you are printing on a
PCL color printer, the lines of
the last element will always
overlay (and cover) the element
previously printed. In the
example, the elements creating
the x- and y-axes should be
entered last when printing on a
PCL color printer.
5.Create the separate IOGL
elements based on the order
determined in Step 4. In the
example, the bar charts were
created first. Recall the IOGL
formula for the bar chart and
the preceding shading/color
command string:
¬GS<# of values>;<color 1>;<%
shading 1>;<color 2>;<% shading
2>;...
¬GH<line width>;<x start>;<y
start>;<x increment>;<y
increment>;<bar width>;<# of
entries>;<value 1>;<value 2>; ...
The bar chart shown in Figure
6-16 was created using the following
parameters:
Bar Chart Boyd
Shading/Color: Boyd’s calls were
plotted for each day of the business
week, so the number of values is five.
Since we printed to a black-and-
white laser printer, the color
parameters were irrelevant. The
shading was set to 10%.
Bar Chart (Histogram): The line
width was set to 1 mm. The x;y-start
parameters defined the bottom left
corner of the bar which is identical
with the origin of the chart.
Remember that the origin was one
inch from the left margin, and 10
inches from the top margin of the
printable area. The resulting values
were 300 (=1 inch x 300/inch) for
<x start> and 3000 (= 10 inches x
300/inch) for <y start.>.
The bar representing Boyd’s calls
for Tuesday was to be printed one
inch to the right of Monday’s bar.
The resulting <x increment> was 300
(= 1 inch x 300/inch). Since the
maximum height of a bar was
specified at four inches, the resulting
value for <y increment> was 30 (= 4
inches/40 max. calls x 300/inch).
To aid in readability, extra space
was left between the last bar of day