編輯

共用方式為


TickMark.Size Property

Definition

Gets or sets the length of tick marks. The length is measured in units that represent a percentage of the height or width of the chart image, depending on the axis.

public:
 property float Size { float get(); void set(float value); };
[System.ComponentModel.Bindable(true)]
public float Size { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Size : single with get, set
Public Property Size As Single

Property Value

A float value that represents the size, or length, of tick marks. The default value is 1.0 percent.

Attributes

Remarks

The size of a tick mark determines the tick mark's length.

The Size property is measured in units that represent a percentage of the height or width of the chart image. If the tick mark is displayed along a vertical axis, the unit of measure is a percentage of the chart image's width. If the tick mark is displayed along a horizontal axis, the unit of measure is a percentage of the chart image's height.

A change in the width of the chart image will result in the resizing of all tick marks displayed along vertical axes, for all chart areas. Similarly, a change in the height of the chart image will result in the resizing of all tick marks displayed along horizontal axes, for all chart areas.

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 and specify a tick mark size of zero (0) using the Size property.

Applies to