Skip to main content

TcxGridChartSeriesStyles.OnGetValueStyle Event

Occurs whenever a series value (data marker) should be redrawn.

Declaration

property OnGetValueStyle: TcxGridChartSeriesGetValueStyleEvent read; write;

Remarks

You can handle the OnGetValueStyle event to modify the style (the border color, the background color and the background bitmap of the data markers and font settings for the corresponding value hints) for individual series value. This event occurs every time a series value (its data marker) of the series specified by the Sender parameter needs to be redrawn. The series value that corresponds to the data marker being redrawn is addressed by the AValueIndex parameter which represents the index of the series value in the Values collection. The style which is returned via the AStyle parameter overrides the styles for the series values defined by the Styles.Values properties of the corresponding series.

See Also