Skip to main content

TdxGaugeScaleType Enum

Enumerates the types of scales that you can create within the Gauge Control.

Declaration

TdxGaugeScaleType = (
    stCircularScale,
    stDigitalScale,
    stLinearScale,
    stCircularHalfScale,
    stCircularQuarterLeftScale,
    stCircularQuarterRightScale,
    stCircularThreeFourthScale,
    stCircularWideScale,
    stContainerScale
);

Members

Name
stCircularScale
stDigitalScale
stLinearScale
stCircularHalfScale
stCircularQuarterLeftScale
stCircularQuarterRightScale
stCircularThreeFourthScale
stCircularWideScale
stContainerScale

Remarks

Options include:

Value

Scale Description

Scale Example

stCircularScale

The circular scale visualizes its values within a full circle. Circular scales are designed to mimic speedometers, tachometers, manometers, stopwatches, clocks, etc. The circular scale is either a TdxGaugeCircularScale or TdxGaugeDBCircularScale object created within the Gauge Control.

stDigitalScale

The digital scales display either text or numbers like LEDS do. Digital scales are designed to imitate the work of a real digital clock, audio receiver or any other device with the LED screen. The digital scale is either a TdxGaugeDigitalScale or TdxGaugeDBDigitalScale object created within the Gauge Control.

stLinearScale

The linear scale visualizes its values via the level bar. Linear scales are designed to mimic thermometers and indicators. The linear scale is either a TdxGaugeLinearScale or TdxGaugeDBLinearScale object created within the Gauge Control.

stCircularHalfScale

The half-circular scale works similar to the circular scale, but visualizes its values on the upper half of a circular scale. You can use half-circular scales to imitate the work of analog measuring instruments, such as voltmeters, galvanometers, multimeters, etc. The half-circular scale is either a TdxGaugeCircularHalfScale or TdxGaugeDBCircularHalfScale object created within the Gauge Control.

stCircularQuarterLeftScale

The left quarter-circular scale works similar to the circular and half-circular scales, but visualizes its values on the upper-left quarter of a circular scale. The left quarter-circular scales can be used for the same purposes as the half-circular scales. The left quarter-circular gauge is either a TdxGaugeCircularQuarterLeftScale or TdxGaugeDBCircularQuarterLeftScale object created within the Gauge Control.

stCircularQuarterRightScale

The right quarter-circular scale works similar to the circular and half-circular scales, but visualizes its values on the upper-right quarter of a circular scale. The right quarter-circular scales can be used for the same purposes as the half-circular scales. The right quarter-circular scale is either a TdxGaugeCircularQuarterRightScale or TdxGaugeDBCircularQuarterRightScale object created within the Gauge Control.

stCircularThreeFourthScale

The three-fourth circular scale works similar to the circular scale, yet occupies up to three-fourths of its area. Refer to the Three-Fourth Circular Scales subtopic for the full list of the arc scale angle ranges that depend on the selected visual style.

You can use three-fourth circular scales to imitate the work of such analog measuring instruments as voltmeters, galvanometers, multimeters, etc. The three-fourth circular scale is either a TdxGaugeCircularThreeFourthScale or TdxGaugeDBCircularThreeFourthScale object created within an instance of the Gauge Control.

stCircularWideScale

The wide circular scale shares similarities with both the arc and rectangular scales. Like the arc scales, the wide circular scales use the AngleStart and AngleEnd property values to position the range of displayed values. Like the rectangular scales, the wide circular scales use the rectangle-shaped layout.

Since the angle range used for scale positioning depends on the currently selected visual style, you can refer to the Wide Circular Scales topic for the full list of possible arc angle range limitations.

You can use wide circular scales to imitate the work of such analog measuring instruments as voltmeters, galvanometers, multimeters, etc. The wide circular scale is either a TdxGaugeCircularWideScale or TdxGaugeDBCircularWideScale object created within the Gauge Control.

stContainerScale

This is a non-visual scale type used to host, group, and manage other scales within the Gauge Control. Only the bounding box of the container scale is displayed at design time.

The container scale is a TdxGaugeContainerScale object created by using the Gauge Control’s AddContainer or AddScale functions.

This type is referenced by the Gauge Control’s ScaleType property. Each scale type has both the unbound and data-aware versions.

See Also