YOUSEFUL / DELPHI / COMPONENTS
TAtlasPlotLegendPosition
Side of a TAtlasPlot the legend occupies.
Description
Value of TAtlasPlot.LegendPosition. Left and right legends are a single column; top and bottom legends flow into at most three centred rows. Entries that do not fit are left out.
Members
| Member | Kind | What it does |
|---|---|---|
lpRight | value | One column at the right edge. |
lpBottom | value | Up to three centred rows below the plot, above the footnote. |
lpLeft | value | One column at the left edge. |
lpTop | value | Up to three centred rows below the title. |
Values
lpRight value
lpRightOne column at the right edge. The default.
lpBottom value
lpBottomUp to three centred rows below the plot, above the footnote.
lpLeft value
lpLeftOne column at the left edge.
lpTop value
lpTopUp to three centred rows below the title.
Examples
Legend under a wide chart
Moves the legend below the plot so a wide chart keeps its full width.
uses
Atlas.Plot;
procedure LegendBelow(Plot: TAtlasPlot);
begin
Plot.LegendVisible := True;
Plot.LegendPosition := lpBottom;
end;