Edit

Share via


Series.ShadowOffset Property

Definition

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

[System.ComponentModel.Bindable(true)]
public int ShadowOffset { get; set; }

Property Value

An integer value that represents the shadow offset of the series, in pixels.

Attributes

Examples

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

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

Remarks

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.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1