TCustomChartLegend.MaxNumRows
TCustomChartLegend
property MaxNumRows: Integer;
Unit
Chart
Description
Settings MaxNumRows defines the maximum number of rows (left and right aligned) or columns (top or bottom aligned) to be displayed in the chart legend.
When the TCustomChart.Legend is aligned horizontally (top or bottom), the number of rows can be specified:
Chart1.Legend.MaxNumRows:=3;
By default, MaxNumRows is 10 (ten), meaning the Legend will show at maximum 10 rows.
Setting it to 0 (zero) will make the Legend to show as many rows as necessary.