語言

Axis.MajorGrid 屬性

定義

取得或設定 Grid 一個物件,用來設定軸的主要格線屬性。

public:
 property System::Web::UI::DataVisualization::Charting::Grid ^ MajorGrid { System::Web::UI::DataVisualization::Charting::Grid ^ get(); void set(System::Web::UI::DataVisualization::Charting::Grid ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.NoNameExpandableObjectConverter))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.DataVisualization.Charting.Grid MajorGrid { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.NoNameExpandableObjectConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.MajorGrid : System.Web.UI.DataVisualization.Charting.Grid with get, set
Public Property MajorGrid As Grid

屬性值

一個 Grid 用來取得或設定軸主要網格屬性的物件。

屬性

備註

主要網格線總是與資料點一同繪製。 也就是說,對於類別軸刻痕,它們會與資料點在同一軸上的點出現。 對於數值軸,標示處預設會畫出主要格線。

你可以利用這個特性來改變主要格線的頻率、顏色等等。

適用於