Skip to main content

TdxGaugeCustomCaption Class

The base class for the custom inscriptions created within a scale.

Declaration

TdxGaugeCustomCaption = class(
    TcxComponentCollectionItem,
    IdxGaugeSelectableElement
)

Remarks

This class implements the basic functionality required by custom labels for both the digital and quantitative scales.

The TdxGaugeCustomCaption class extends its ancestor class with the following properties allowing you to:

  • Position the custom label within a scale (the OptionsLayout property set);

  • Set the text string displayed as the custom inscription within a scale (the Text property);

  • Customize the custom label’s appearance (the OptionsView property set);

  • Hide and display the custom inscription within a scale (the Visible property).

Note

You do not need to create instances of the TdxGaugeCustomCaption class, use its descendants instead. The TdxGaugeQuantiativeScaleCaption and TdxGaugeDigitalScaleCaption classes implement the custom labels that can be created in quantitative and digital scales, respectively.

See Also