Dundas Chart for Windows Forms
Size Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > TickMark Class : Size Property


Gets or sets the length of tick marks. Measured in units that represent a percentage of the chart image's height or width.


Tick mark size.

Syntax

Visual Basic (Declaration)  
Public Property Size As Single
Visual Basic (Usage) Copy Code
Dim instance As TickMark
Dim value As Single
 
instance.Size = value
 
value = instance.Size
C#  
public float Size {get; set;}

Return Value

A value that represents the size, or length, of tick marks. Defaults to 1.0%.

Remarks

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

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

Changing the width of the chart image will result in the resizing of all tick marks displayed along vertical axes, for all chart areas. Similarly changing 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 tickmarks for 3D charts so that they are just drawn for the width of a wall set the Style property to Cross and specify a tickmark size of zero.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.