AREA statement

   AREA statement sets the chart area position in a browser window, background color of the chart area and other parameters of the whole chart.
   Format of the statement:
   AREA; left; top; width; height; bgcolor; id; stencil file; output file; heading file; ending file;

Parameter

Purpose

Comment

 left  Distance from the left border of the browser window to the left border of the chart area 0
 top  Distance from the top border of the browser window to the top border of the chart area Chart area follows the layout rules of HTML (relative positioning)
 width  Width of the chart area 400
 height  Height of the chart area 400
 bgcolor  Background color of the chart area white
 id  Chart identifier (max 20 symbols) All identifiers are omitted
 stencil file  Name of the file containing the constant data  
 output file  Name of the output file  
 heading file  Name of the file, data from which will be placed before result of program  
 ending file  Name of the file, data from which will be placed after result of program  

   Values in the column "Comment" are used if the corresponding parameter is omitted.
   If some charts are described in one input file, AREA statement must be present necessarily. When program reads each new AREA statement (except for the first) from input file, it generates output data.
   All sizes you must code in pixels.
   If you code parameter top (specify 0 or any other number), chart area is positioned in the browser window (absolute positioning) with window origin in top left corner.
   Background color of the chart area you can set in three ways:
   by using following color names: black, silver, gray, maroon, purple, fuchsia, aqua, teal, navy, olive, lime, blue, green, red, white, yellow;
   by using numbers to denote a red-green-blue (RGB) color value in format #RGB or #RRGGBB, for example, #F00 or #FF0000;
   by using word transparent for setting transparent chart area.

   File names can consist of a drive letter and colon, a directory name, a file name, or a combination. If you specify only file name, this file must placed in current (working) directory (except for the marking file which must placed in directory with input data).
   We recommend use stencil file when, for example, you want to insert any constant components into the chart description. Stencil file can contain any statements. In AREA statement parameters left, top, width, height, bgcolor are taken into account only. If identical statements are contained in stencil file and in input file, last reading statement is taken into account (except for D1 and D2 statements). Program inputs stencil file after reading AREA statement from input file.
   If you want use one input file for generation more that one HTML output files you must specify output file name in each AREA statement. If output file names are not specified, all output data will be placed in one output file. You may not specify output file names only in some AREA statements.
   You can use heading file for adding some elements to the beginning of output file. You can use it, for example, for setting the page character set by META element. If heading file is placed at the beginning of the HTML file you must include following elements necessarily:

  <html>
  <xml:namespace prefix="v"/>
  <style>
  v\:* {behavior=url(#default#VML)}
  </style>
  <body>

   You can use ending file for adding some elements to the output file after result of the program. If ending file is placed at the ending of the HTML file you must include following elements:

  </body>
  </html>


   If AREA statement is not coded, the chart is placed into the area with default parameters, i.e. it is meant presence of statement:

AREA; 0; ; 400; 400; white;