Skip to main content

TdxChartGetValueLabelDrawParametersEvent Type

The procedural type for value label parameter customization events.

Declaration

TdxChartGetValueLabelDrawParametersEvent = procedure(Sender: TdxChartCustomDiagram; AArgs: TdxChartGetValueLabelDrawParametersEventArgs) of object;

Parameters

Name Type Description
Sender TdxChartCustomDiagram

The diagram that raised the label parameter customization event.

Cast this parameter value to the TdxChartXYDiagram or TdxChartSimpleDiagram class depending on the actual diagram type to access all public API members.

You can call the Sender.ClassType function to identify the diagram type.

AArgs TdxChartGetValueLabelDrawParametersEventArgs

Provides access to draw parameters of the processed series value label in the diagram accessible through the Sender parameter.

You can use the AArgs.Text property to change display text of the processed series value label.

Remarks

Value label settings define label appearance for all series values. You can handle a value label customization event to change individual labels based on certain conditions.

Accessible Event Parameters

You can use the AArgs.SeriesPoint property to identify the processed value label.

The AArgs.Text property allows you to change the processed label’s inscription.

Refer to the TdxChartGetValueLabelDrawParametersEventArgs class description for detailed information on available options.

Direct TdxChartGetValueLabelDrawParametersEvent Type References

The OnGetValueLabelDrawParameters event of XY and simple diagrams references the TdxChartGetValueLabelDrawParametersEvent procedural type.

See Also