This documentation is archived and is not being maintained.

TickMark.TickMarkStyle Property

Gets or sets the tick mark style.

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

public TickMarkStyle TickMarkStyle { get; set; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.TickMarkStyle
A TickMarkStyle enumeration value. The default value is OutsideArea.

The TickMarkStyle property determines the style of tick marks.

Tick marks can be drawn inside the chart area, outside the chart area, across an axis line, or can be disabled.

To display tick marks for three-dimensional (3D) charts, so that they are just drawn for the width of a wall, set the TickMarkStyle property to AcrossAxis. Then specify a tick mark size of zero (0) using the Size property.

If the TickMarkStyle property is set to None, tick marks are not displayed. Tick marks can also be toggled on or off by setting the Enabled() property to true or false.

.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.