| control.Region(n).Legend.Alignment | ||
| Type: | Long (LegendAlignment constant) |
| Purpose: | Sets the alignment of the legend. |
| Default: | No legend (RMC_LEGEND_NONE). |
| Accessible: | Runtime |
| Remarks: | You can choose between 8 normal legend alignments and 11 Custom... alignments: those alignments don't reduce the space for the actual chart, because they are painted "on top" of it, while the normal legend alignments are painted in a separate space, which reduces the available range for the chart. With none-grid based charts (Pie/Donut/Pyramid) you can use RMC_LEGEND_ONVLABELS, which prints the legend texts on the value labels. See also GridlessSeries.ValueLabelOn |
| Example: | RMChartX1.AddRegion RMChartX1.Region(1).AddLabelAxis RMChartX1.Region(1).Legend.Alignment = RMC_LEGEND_UL |