Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGaugeScaleCollection.Add(TdxGaugeCustomScaleClass) Method

Adds a new scale to the collection.

#Declaration

Delphi
function Add(AScaleClass: TdxGaugeCustomScaleClass): TdxGaugeCustomScale;

#Parameters

Name Type
AScaleClass TdxGaugeCustomScaleClass

#Returns

Type
TdxGaugeCustomScale

#Remarks

Use this method to add a scale to the Gauge Control at runtime. The AScaleClass parameter specifies the type of the created scale. The Add function returns the generic form of a particular scale object.

Refer to the Items property description for the code example demonstrating the Add method in action.

Alternatively, you can use the Gauge Control’s AddScale and/or AddContainer methods.

See Also