Redigera

Dela via


TickMark.TickMarkStyle Property

Definition

Gets or sets the tick mark style.

public:
 property System::Web::UI::DataVisualization::Charting::TickMarkStyle TickMarkStyle { System::Web::UI::DataVisualization::Charting::TickMarkStyle get(); void set(System::Web::UI::DataVisualization::Charting::TickMarkStyle value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.TickMarkStyle TickMarkStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.TickMarkStyle : System.Web.UI.DataVisualization.Charting.TickMarkStyle with get, set
Public Property TickMarkStyle As TickMarkStyle

Property Value

A TickMarkStyle enumeration value. The default value is OutsideArea.

Attributes

Remarks

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 TickMarkStyle.None, tick marks are not displayed. Tick marks can also be toggled on or off by setting the Tickmark.Enabled property to true or false.

Applies to