X statement sets parameters of the categories axis. Format of the statement: X | + angle; width; Xcolor; size; font; fontcolor; bold; italic; text; bgcolor; x1; x2; x3; ... |
Parameter |
Purpose |
Comment |
angle | Angle of inclination of the axis labels (0 - 180 degrees) | 0 |
width | Width of the axis line (1 - 5) | 1 |
Xcolor | Color of the axis line and the vertical gridlines | black |
size | Size of the font | 14 |
font | Name of the font | Arial |
fontcolor | Color of the font of axis labels and axis title | black |
text | Text of the axis title | |
bgcolor | Background color of the axis labels and the axis title | |
x1; x2; x3; ... | Text of axis labels |
Values in the column "Comment" are used if the
corresponding parameter is omitted. If symbol "|" is coded vertical gridlines will be graphed. Vertical gridlines are graphed only for those categories for which the text of axis labels is specified. If it is necessary to graph only vertical gridline without label, symbol "|" must be coded as text of correspondent axis label (this symbol is not rendered). If symbol "+" is coded the labels and the points of charts will be placed at the categories. Otherwise they will be placed between categories. Parameter angle sets the orientation of the labels. By default axis labels is showed as straight text. If value 90 is coded, the text of labels is showed bottom-top. Parameter bold sets the bold font. Parameter italic sets the italic font. Color you can set in two 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. Axis labels can contain any text. If label is not coded, it is not rendered. Absence of the label is coded by two symbols ";;" without blank. If any label is not coded, labels are formed automatically as series of numbers: 1, 2, 3, 4, etc. In that case number of labels is equal to the number of data values. For very long string you can use symbol "\". After reading these symbol program terminates input from current string and reads it from the beginning of the next string. If X statement is not coded, the categories axis is not rendered. |