TdxChartAxisGridlines.Thickness Property
Specifies thickness of major grid lines, in pixels.
Declaration
property Thickness: Single read; write;
Property Value
| Type | Description |
|---|---|
| Single | The current thickness (in pixels) of major grid lines at |
Remarks
Use Thickness and MinorThickness properties to adjust thickness of major and minor grid lines, respectively.
Property Value Examples
| Value | Example[1] |
|---|---|
1 (default) |
![]() |
2 |
![]() |
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 thickness (in pixels) of major grid lines 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 thickness of major grid lines on the target screen.
Default Value
The Thickness property’s default value is 1.
-
This example demonstrates different AxisY.Gridlines.
Thicknessproperty values on the same diagram. The AxisY.Gridlines.Style property is set to TdxStrokeStyle.Solid.

