Skip to main content

TcxGridChartItem.OnGetValueDisplayText Event

Enables you to customize the display text for a value of the chart item.

Declaration

property OnGetValueDisplayText: TcxGridChartGetValueDisplayTextEvent read; write;

Remarks

The text returned by handling this event will appear in:

The chart item and its value are passed as the Sender and AValue parameters, respectively.

Return the value’s display text via the ADisplayText parameter, which is pre-initialized by the default string for this value. Note that for chart values, this string 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 chart value by its index.

See Also