LightContrast: Double;
The LightContrast property determines lighting contrast ratio (0 - none; 1- maximum).
The property is set to 0 by default. The property applies only to 3D charts.
This example assumes that there is the Chart object of the IChart type.
Sub Contrast;
Var
Chart : IChart;
Begin
Chart.DisplayVolume3D := True; // converting the chart into a 3D type chart
Chart.Volume3DInfo.LightContrast := 0.6;
End Sub Contrast;
After executing the example lighting contrast is changed to the specified value.
See also: