Back to Devexpress

TdxChartPaletteItem.Color2 Field

vcl-dxchartpalette-dot-tdxchartpaletteitem-dot-color2.md

latest1.7 KB
Original Source

TdxChartPaletteItem.Color2 Field

Stores the secondary palette item color.

Declaration

delphi
Color2: TdxAlphaColor

Field Value

TypeDescription
TdxAlphaColor

The secondary palette item color that corresponds to the TdxFillOptions.Color2 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.

Value Type

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

Note

Secondary palette colors are used only in gradient and hatch fill modes.

See Also

TdxChartPaletteItem Record

TdxChartPaletteItem Members

dxChartPalette Unit