Export (0) Print
Expand All

Series.ShadowOffset Property

.NET Framework 4.6 and 4.5

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)

[BindableAttribute(true)]
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.6, 4.5, 4
Show:
© 2015 Microsoft