TdxChartPaletteItem.Color2 Field
In This Article
Stores the secondary palette item color.
#Declaration
Delphi
Color2: TdxAlphaColor
#Field Value
Type | Description |
---|---|
Tdx |
The secondary palette item color that corresponds to the Tdx |
#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.
See Also