Export (0) Print
Expand All

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)

public TickMark MajorTickMark { get; set; }

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.5, 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

© 2014 Microsoft