IChartBackgroundInfo.GradientAngle

Syntax

GradientAngle: Double;

Description

The GradientAngle property determines a gradient angle.

Example

This example assumes that there is the Chart object of the IChart type.

Sub Angle;

Var

Chart : IChart;

Ground : IChartBackgroundInfo;

Begin

Ground := Chart.ChartArea.BackgroundInfo;

Ground.Type := ChartBackGroundType.Gradient;

Ground.Color := GxColor.FromName("Blue");

Ground.GradientColor := GxColor.FromName("Red");

Ground.GradientAngle := 30;

End Sub Angle;

After executing the example the chart area is filled with a red gradient with the gradient angle equal to 30 degrees.

See also:

IChartBackgroundInfo | IChartBackgroundInfo.Type