다음을 통해 공유


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 값입니다. 기본 색은 .입니다 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"을 사용해 보세요.

그림자를 구현하려면 속성을 0이 아닌 값으로 설정합니다 ShadowOffset .

적용 대상