Axis.MajorGrid 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 Grid 一個物件,用來設定軸的主要格線屬性。
public:
property System::Windows::Forms::DataVisualization::Charting::Grid ^ MajorGrid { System::Windows::Forms::DataVisualization::Charting::Grid ^ get(); void set(System::Windows::Forms::DataVisualization::Charting::Grid ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.NoNameExpandableObjectConverter))]
public System.Windows.Forms.DataVisualization.Charting.Grid MajorGrid { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.DataVisualization.Charting.NoNameExpandableObjectConverter))>]
member this.MajorGrid : System.Windows.Forms.DataVisualization.Charting.Grid with get, set
Public Property MajorGrid As Grid
屬性值
一個 Grid 用來取得或設定軸主要網格屬性的物件。
- 屬性
備註
主要網格線總是與資料點一同繪製。 也就是說,對於類別軸刻痕,它們會與資料點在同一軸上的點出現。 對於數值軸,標示處預設會畫出主要格線。
你可以利用這個特性來改變主要格線的頻率、顏色等等。