TickMark.TickMarkStyle Property

.NET Framework (current version)
 

Gets or sets the tick mark style.

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

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
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 P:System.Web.UI.DataVisualization.Charting.TickMark.Enabled property to true or false.

.NET Framework
Available since 4.0
Return to top
Show: