Chart.BackSecondaryColor 属性

定义

获取或设置图表背景的辅助颜色。Gets or sets the secondary color of the chart background.

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

属性值

Color

一个 Color 值。A Color value. 默认值是 EmptyThe default value is Empty.

属性

注解

BackSecondaryColor属性确定许多对象的辅助背景色 Chart ,并在应用渐变颜色时使用。The BackSecondaryColor property determines the secondary background color of many Chart objects, and is used when gradient colors are being applied.

可以设置 BackSecondaryColor 为任何有效的 ARGB (alpha、红色、绿色、蓝色) 值。You can set BackSecondaryColor to any valid ARGB (alpha, red, green, blue) value.

如果使用阴影,则 BackSecondaryColor 属性将确定图表阴影线的颜色。If hatching is used, the BackSecondaryColor property determines the color of the hatching lines for the chart.

若要为图表背景使用渐变颜色:To use gradient colors for the background of a chart:

适用于