Legend Table
Legend table lists all series names with units.
There are 5 possible legend table positions:
LEGEND_TOP
|
Classical position in the top
|
LEGEND_ANCHOR_LEFT_TOP
|
Left-top table corner anchored to left-top plot corner
|
LEGEND_ANCHOR_RIGHT_TOP
|
Right-top table corner anchored to right-top plot corner
|
LEGEND_ANCHOR_LEFT_BOTTOM
|
Left-bottom table corner anchored to left-bottom plot corner
|
LEGEND_ANCHOR_RIGHT_BOTTOM
|
Right-bottom table corner anchored to right-bottom plot
|
|
The distance to the corner is set with SetLegendPosX(int x) and SetLegendPosY(int y).
The positions and how distances are measured are shown in next plots:
It is possible to use negative values of posX, specially when legend table is anchored to right corners. For example to get this:
|