TdxChartAxisAppearance.Color Property
Specifies color of the axis.
Declaration
property Color: TdxAlphaColor read; write; default TdxAlphaColors.Default;
Property Value
Type | Default | Description |
---|---|---|
TdxAlphaColor | Default | The current axis color. |
Remarks
Use Thickness and Color
properties to change axis thickness and color, respectively.
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.
Examples
Value | Example[1] |
---|---|
TdxAlphaColors.Default (default) | |
TdxAlphaColors.LightGreen |
Default Value
The Color
property’s default value is TdxAlphaColors.Default.
The default Color
property value indicates that the parent diagram’s Appearance.FillOptions settings determine the color of the axis and its tick marks.
If the default color is defined everywhere down to the root level, the actual axis color is determined by the Chart control’s look & feel settings.
-
This example demonstrates different AxisX.Appearance.
Color
and AxisY.Appearance.Color
property values on the same diagram.AxisX.Appearance.Thickness and AxisY.Appearance.Thickness properties are set to
2.