다음을 통해 공유


Series.ShadowColor 속성

정의

계열의 그림자 색을 가져오거나 설정합니다.

public:
 property System::Drawing::Color ShadowColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.Color ShadowColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.ShadowColor : System.Drawing.Color with get, set
Public Property ShadowColor As Color

속성 값

Color

Color 값입니다. 기본 색상은 Black입니다.

특성

예제

' Set series shadow color and offset  
Public Sub SetSeriesShadow()  
     Chart1.Series("Default"}.ShadowColor = Color.Blue  
     Chart1.Series("Default"}.ShadowOffset = 2  
End Sub 'SetSeriesShadow  
// Set series shadow color and offset   
public void SetSeriesShadow()  
{      
    Chart1.Series("Default"}.ShadowColor = Color.Blue;  
    Chart1.Series["Default"].ShadowOffset = 2;  
}  

설명

유효한 ARGB (알파, 빨강, 녹색, 파랑) 값을 수 있습니다 하는 시리즈의 그림자 색을 가져오거나 설정 합니다.

알파 값; 현실적인 그림자 효과 얻는 데 사용할 수 있습니다. 그림자의 색 값 "128,0,0,0" 사용해 보세요.

그림자를 구현 하려면 설정의 ShadowOffset 영 (0)이 아닌 값으로 속성입니다.

적용 대상