IChartCommonItem.Shadow

Syntax

Shadow: IChartShadow;

Description

The Shadow property determines shadow parameters.

Example

This example assumes that there is the ChartSerie object of the IChartSerie type.

Sub Shadow;
Var
    ChartSerie : IChartSerie;
    p : IGxPointF;
Begin
    p := New GxPointF.Create (1.00,2.00);
    ChartSerie.DisplayShadow := True;
    ChartSerie.Shadow.Color := GxColor.FromName("Red");
    ChartSerie.Shadow.Direction := p ;
End Sub Shadow;

After executing the example the series on the chart will have a red shadow with the specified offset.

See also:

IChartCommonItem