Share via


Axis.LineDashStyle 屬性

定義

取得或設定座標軸的線條樣式。

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

屬性值

表示座標軸線條樣式的 ChartDashStyle 列舉值。

屬性

備註

屬性 LineDashStyle 會決定用於座標軸的線條樣式。 線條可以是實心、虛線等等。

注意 如果未啟用座標軸,但連續的座標軸正在使用格線,則會顯示其中一條格線來取代未啟用的座標軸。 如果 Enabled 座標軸的 屬性設定 Auto 為 ,就會發生相同的情況。在此情況下,座標軸不會用來繪製資料,而相鄰座標軸的格線將會改為繪製。

適用於