Bewerken

Delen via


Axis.MajorTickMark Property

Definition

Gets or sets a TickMark object used to set the major tick mark properties of an axis.

public:
 property System::Web::UI::DataVisualization::Charting::TickMark ^ MajorTickMark { System::Web::UI::DataVisualization::Charting::TickMark ^ get(); void set(System::Web::UI::DataVisualization::Charting::TickMark ^ 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.TickMark MajorTickMark { 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.MajorTickMark : System.Web.UI.DataVisualization.Charting.TickMark with get, set
Public Property MajorTickMark As TickMark

Property Value

A TickMark object used to set the properties of a major tick mark of an axis.

Attributes

Remarks

Major tick marks are always drawn in conjunction with a data point. Categorical axis tick marks will occur at the same point along an axis as a data point. For value axes, major tick marks are drawn by default wherever labels occur.

You can use this property to change the major tick mark properties such as frequency, color, or size.

Applies to