Label Commands

The following command line arguments to the PDF Chart Creator are used by one or more types of chart:

Note #1: All color command parameters can be specified in one of three ways, just choose the method that you are most comfortable with:

  • #RRGGBB - HTML color specification, uses hexadecimal notation to define the amount of red (RR), green (GG) and blue (BB) in a color. These values are between 0 (hexadecimal 00) and 255 (hexadecimal FF) inclusive. Click here for more information and examples with hexadecimal colors.
  • R G B - decimal colour specification, uses normal decimal notation to define the amount of red (RRR), green (GGG) and blue (BBB) in a color. These values are between 0 and 255 inclusive. Click here for more information and examples with decimal colors.
  • R.R G.G B.B - real colour specification, used real number notation to define the amount of red (R.R), green (G.G) and blue (B.B) in a color. These values are between 0.0 and 1.0 inclusive. Click here for more information and examples with real colors.
  • Note #2: All font name command parameters must be specified as one of the following standard PDF fonts (also known as base14 fonts):

  • Courier
  • Courier-Bold
  • Courier-BoldOblique
  • Courier-Oblique
  • Helvetica
  • Helvetica-Bold
  • Helvetica-BoldOblique
  • Helvetica-Oblique
  • Times-Roman
  • Times-Bold
  • Times-Italic
  • Times-BoldItalic
  • Symbol
  • ZapfDingbats
  •   -ChartHeading
    Parameters: vertical position - must be one of the following:
  • top
  • bottom

  • horizontal alignment - must be one of the following:
  • left
  • center
  • right
  • Notes:
  • This command is optional and controls where the chart title and subtitle (if they are defined) are displayed in relation to the page.
  • The subtitle (if defined) is always displayed underneath the title.
  • The text displayed as the chart title is taken from the PDF meta title.
  • The text displayed as the chart subtitle is taken from the PDF meta subject.
  • If this command is not specified a default setting of top and center is used.

  •   -HeadingTitle
    Parameters: font point size - must be between 1 and 300 inclusive.
    font name - must be one of the standard PDF fonts (see above).
    text color - see text style below for an explanation of it's use.
    text style - must be one of the following:
  • normal - has the text filled in with the required text color
  • stroke - has the text filled in with the required text color and the outline of each letter is "stroked" in the extra color

  • extra color - specified if text style is stroke
    Notes:
  • This command is optional and controls the display of the title.
  • If not specified a default of 18 point Times black normal text is used

  •   -HeadingSubTitle
    Parameters: font point size - must be between 1 and 300 inclusive.
    font name - must be one of the standard PDF fonts (see above).
    text color - see text style below for an explanation of it's use.
    text style - must be one of the following:
  • normal - has the text filled in with the required text color
  • stroke - has the text filled in with the required text color and the outline of each letter is "stroked" in the extra color

  • extra color - specified if text style is stroke
    Notes:
  • This command is optional and controls the display of the sub-title.
  • If not specified a default of 14 point Times black normal text is used

  •   -DecimalPoints
    Parameters: digits - must be a value between 0 and 9.
    Notes:
  • This command is optional and if not specified defaults to 1 digit.
  • If any data values are real numbers (ie they have a decimal point in) then no matter how many digits they may have when they are displayed as a label they will all be displayed with the specified number of digits after the decimal point (the value is rounded to the required number of digits and NOT truncated). This also applies to any calculated axes valuess.