共用方式為


Axis.LineDashStyle 屬性

定義

設定或設定軸線樣式。

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

屬性值

一個 ChartDashStyle 列舉值。

屬性

備註

屬性決定 LineDashStyle 了軸線的樣式。 這條線可以是實線、點線等等。

如果某個軸未啟用,但相鄰軸使用格線,則會顯示其中一條格線取代未啟用的軸。 若 Enabled 將軸的性質設為 Auto,也會發生同樣的情況。此時軸線不用於繪製資料,而是繪製相鄰軸線的網格線。

適用於