Skip to main content
All docs
V24.1

TdxChartPaletteItem.Color Field

Stores the primary palette item color.

Declaration

Color: TdxAlphaColor

Field Value

Type Description
TdxAlphaColor

The primary palette item color that corresponds to the TdxFillOptions.Color property.

Remarks

Use Color and Color2 fields to define primary and secondary colors applied to an XY series or an individual value of a simple series.

VCL Chart Control: Chart Palette Item Examples

Value Type

The Color 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.

See Also