LEGEND statement sets the legend position in a browser window and
other parameters of the legend. Format of the statement: LEGEND + !; left; top; width; height; bgcolor; columns; rows; fontsize; font; fontcolor; bold; italic; borderwidth; bordercolor; shadow; round; |
Parameter |
Purpose |
Comment |
left | Distance from the left border of the browser window to the left border of the legend | Distance from the left border of the browser window to the right border of the chart area |
top | Distance from the top border of a browser window to the top border of the legend | If in statement AREA parameter top is coded,
distance from the top border of the browser window to the top border of the
chart area. If parameter top is not coded, legend will be placed below the chart area (relative addressing) |
width | Width of the legend | Calculated automatically in accordance with number of symbols in longest chart name |
height | Height of the legend | Calculated automatically in accordance with fontsize |
bgcolor | Background color of the legend | Background color of the chart area |
columns | Number of columns | 1 |
rows | Number of rows | Calculated automatically in accordance with number of including chart names |
fontsize | Font size | 14 |
font | Font name | Arial |
fontcolor | Font color | black |
borderwidth | Width of the legend border | 1 |
bordercolor | Color of the legend border | black |
Values in the column "Comment" are used if the
corresponding parameter is omitted. If symbol "+" is coded, separating lines will be rendered. If symbol "!" is coded, legend will be rendered only. Parameter bold sets the bold font. Parameter italic sets the italic font. Parameter shadow sets border shadow. Parameter round sets border with rounded corners. 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. If LEGEND statement is not coded, the legend is not rendered. |