dbicGauge Send comments on this topic.
MajorTicks Property
See Also 
dbicGauge Assembly > Dbi.WinControl.Gauge Namespace > dbiGauge Class : MajorTicks Property

Gets or sets the number of major ticks to display in the primary gauge.

Syntax

Visual Basic (Declaration) 
Public Overridable Property MajorTicks As Integer
C# 
public virtual int MajorTicks {get; set;}

Property Value

Integer

Remarks

The display of the number of ticks will be determined in this order:
The first tick will be drawn at the AngleStart of the primary gauge.
The second tick will be drawn at the AngleEnd of the primary gauge.
If the value is greater than 2, then the location of the remaining ticks will be divided up evenly in the available space between the AngleStart and AngleEnd properties.

 

One thing to consider when using a 360 degree gauge, is that the AngleStart and AngleEnd will be at the same location (overlapping). This means that the first and second calculated tick will be overlapping eachother in the display.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also