Skip to main content

TdxChartAxisGridlines.MinorColor Property

Specifies color of minor grid lines.

Declaration

property MinorColor: TdxAlphaColor read; write; default TdxAlphaColors.Default;

Property Value

Type Default Description
TdxAlphaColor Default

The current color of minor grid lines.

Remarks

Use Color and MinorColor properties to change major and minor grid line colors, respectively.

Value Type

The MinorColor 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) VCL Chart Control: The Default Color of Minor Grid Lines
TdxAlphaColors.Aquamarine VCL Chart Control: A Custom Color of Minor Grid Lines

Default Value

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

The default MinorColor property value indicates that the parent diagram’s Appearance.FillOptions settings determine the color of minor grid lines.

If the default color is defined everywhere down to the root level, the actual color of minor grid lines is determined by the Chart control’s look & feel settings.

Footnotes
  1. This example demonstrates different AxisY.Gridlines.MinorColor property values on the same diagram. The AxisY.Gridlines.Thickness property is set to 2.

    All other color-related properties in the Chart control are set to TdxAlphaColors.Default; the TheBezier skin is applied to the control with the active Gloom Gloom color scheme.

See Also