.netCHARTING v10.7 Documentation


dotnetCHARTING Namespace > Axis Class : CenterTickMarks Property
CenterTickMarks Property
Gets or sets a value that indicates whether axis ticks are centered above tick labels or drawn between each label. (JS Charts) With JavaScript charts, range ticks, which include category scales can be centered by setting this option to true.
Syntax
'Declaration
 
Public Property CenterTickMarks As Boolean
'Usage
 
Dim instance As Axis
Dim value As Boolean
 
instance.CenterTickMarks = value
 
value = instance.CenterTickMarks
public bool CenterTickMarks {get; set;}
Remarks
When false, Axis.DefaultTick.Line properties are used for all tick lines.
Example
Requirements

Target Platforms: 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

See Also