Skip to main content

TdxChartCustomLabelsAppearance.TextColor Property

Specifies label text color.

Declaration

property TextColor; default TdxAlphaColors.Default;

Property Value

Type Default Description
TdxAlphaColor Default

The text color of labels.

Remarks

Use the TextColor property to define text color explicitly. To customize all other font settings, use the FontOptions property.

Value Type

The TextColor property accepts TdxAlphaColor values instead of TColor to support transparency.

You can use the TdxAlphaColors record declared in the dxCoreGraphics unit to obtain compatible predefined colors or create custom TdxAlphaColor values. Alternatively, you can call the dxMakeAlphaColor function or other global methods declared in the same unit.

Default Value

The TextColor property’s default value is TdxAlphaColors.Default.

The default TextColor property value indicates that the text color depends on the current Chart control’s look & feel settings (for axis value labels) or the parent visual element’s color (for series value labels).

See Also