Export (0) Print
Expand All

Series.ShadowOffset Property

Gets or sets the shadow offset, in pixels, of a series.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public int ShadowOffset { get; set; }

Property Value

Type: System.Int32
An integer value that represents the shadow offset of the series, in pixels.

To implement shadowing, use a value other than zero (0). A positive value will result in a shadow that shifts down and to the right. A negative value will result in a shadow that shifts up and to the left.

The following code example sets the visual attributes of a series.

// Set series shadow offset 
public void SetSeriesShadowOffset ()
    Chart1.Series["Default"].ShadowOffset = 2;

.NET Framework

Supported in: 4.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft