Skip to main content

dxGaugeUnregisterScale(TdxGaugeCustomScaleClass,Boolean) Method

Removes the specified scale type from the list of scale types available in the Gauge Control.

Declaration

procedure dxGaugeUnregisterScale(AScaleClass: TdxGaugeCustomScaleClass; AUnregisterPredefinedStyle: Boolean = True);

Parameters

Name Type
AScaleClass TdxGaugeCustomScaleClass
AUnregisterPredefinedStyle Boolean

Remarks

Use this procedure to make the scale type, specified as the AScaleClass parameter, unavailable in the Gauge Control. The optional AUnregisterPredefinedStyle parameter specifies whether the all visual styles associated with the unregistered scale type.

To register the implemented custom scale type in the Gauge Control, use the dxGaugeRegisterScale procedure.

Note

If you need to unregister all available scale types at once, use the dxGaugeUnregisterScales method instead.

See Also