This documentation is archived and is not being maintained.

Axis::MajorTickMark Property

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

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
public:
property TickMark^ MajorTickMark {
	TickMark^ get ();
	void set (TickMark^ value);
}

Property Value

Type: System.Web.UI.DataVisualization.Charting::TickMark
A TickMark object used to set the properties of a major tick mark of an axis.

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.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: