Skip to main content

TdxGaugeCustomRange Class

The base class for the range bars (i.e., range marks) that can be created within a quantitative scale.

Declaration

TdxGaugeCustomRange = class(
    TcxComponentCollectionItem,
    IdxGaugeSelectableElement
)

Remarks

Implements the basic functionality required for the TdxGaugeCircularScaleRange, TdxGaugeCircularWideScaleRange, and TdxGaugeLinearScaleRange classes that implement the arc, wide circular, and linear ranges, respectively.

The TdxGaugeCustomRange class extends its ancestor with the following members that allow you to:

  • Assign the required color (including the alpha value) to the range mark (Color);

  • Set both the beginning and end points of the range bar (ValueStart, ValueEnd, and LinkedWithScaleValue);

  • Hide or show the range mark in response to an event occurring in your application (Visible);

  • Set the relative width of the range mark (WidthFactor).

All custom range classes must be derived from the TdxGaugeCustomRange class. You do not need to create instances of this class. Use the TdxGaugeCircularScaleRange, TdxGaugeCircularWideScaleRange, and/or TdxGaugeLinearScaleRange classes instead.

See Also