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

TcxGridChartItem.GetValueDisplayText(Variant) Method

Determines the display text for AValue that is used to render a chart.

#Declaration

Delphi
function GetValueDisplayText(const AValue: Variant): string;

#Parameters

Name Type
AValue Variant

#Returns

Type
string

#Remarks

The text returned by this function will appear in:

For chart values, the display text is formatted as specified by the ValueCaptionFormat property of a series.

Use the VisibleDisplayTexts zero-based indexed collection to get a string representation of a particular item value by its index.

You can handle the item’s OnGetValueDisplayText event to customize a string representation of item values.

See Also