Shadow: IChartShadow;
The Shadow property determines parameters for a marker shadow.
This example assumes that there is the Marker object of the IChartMarker type.
Sub Shad;
Var
Clr : IGxColor;
Pnt : IGxPointF;
Marker : IChartMarker;
Begin
Clr := New GxColor.CreateARGB(255,0,120, 255);
Pnt := New GxPointF.Create (1.00,2.00);
Marker.Shadow.Direction := Pnt;
Marker.Shadow.Color := Clr;
End Sub Shad;
After executing the example markers shadow becomes blue and it is offset by 1 point along the X axis and 2 points along the Y axis.
See also: