Skip to main content

TdxChartAxisAppearance.Thickness Property

Specifies axis thickness, in pixels.

Declaration

property Thickness: Single read; write;

Property Value

Type Description
Single

The current axis thickness (in pixels) at 96 DPI. The property value can be 1 or higher.

Remarks

Use Thickness and Color properties to change axis thickness and color, respectively.

Examples

Value Example[1]
1 (default) VCL Chart Control: The Default Thickness of X and Y Axes
2 VCL Chart Control: Double Thickness of X and Y Axes

Property Setter Behavior

The Thickness property setter changes the property value to 1 if you assign a value below 1 to the Thickness property.

Property Values and Scaling

The Thickness property specifies the base axis thickness (in pixels) that corresponds to 96 DPI. The Chart control’s draw routines multiply the Thickness property value by the current scale factor and round the result to the nearest integer to calculate actual axis thickness on the target screen.

Default Value

The Thickness property’s default value is 1.

Footnotes
  1. This example demonstrates different AxisX.Appearance.Thickness and AxisY.Appearance.Thickness property values on the same diagram.

See Also