共用方式為


Chart.BackGradientStyle 屬性

定義

取得或設定控制點背景梯度 Chart 的方向。 同時也決定是否使用梯度。

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

屬性值

一個 GradientStyle 列舉。 預設值為 None

屬性

備註

利用此 BackGradientStyle 特性判斷控制器是否 Chart 會顯示漸變,以及若使用漸變點,則判斷梯度的方向。

有關可用模式的清單,請參閱列舉。GradientStyle

使用漸層色:

用該 BackColor 屬性設定圖表背景的主色。

用該 BackSecondaryColor 屬性設定圖表背景的次要顏色。

將此 BackGradientStyle 屬性設定為所需的漸層風格。

適用於