Legend: IChartLegend;
The Legend property allows to determine legend parameters.
To work with available parameters, use the IChartLegend interface.
This example assumes that there is the Chart object of the IChart type.
Sub Legend;
Var
Chart : IChart;
Begin
Chart.Legend.FontColor := GxColor.FromName("Green");
End Sub Legend;
After executing the example the color of legend font is changed to green.
See also: