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

Gets or sets the number of major ticks to display in the 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 AngleStart of the gauge.
The second tick will be drawn at AngleEnd of the 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 of the gauge.

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