Legend: IChartLegend;
The Legend property enables the user to determine legend parameters.
Use the IChartLegend interface to work with available parameters.
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: