Skip to main content
All docs
V25.1
  • TdxChartAxisGridlines.MinorThickness Property

    Specifies thickness of minor grid lines, in pixels.

    Declaration

    property MinorThickness: Single read; write;

    Property Value

    Type Description
    Single

    The current thickness (in pixels) of minor grid lines at 96 DPI. The property value can be 1 or higher.

    Remarks

    Use Thickness and MinorThickness properties to adjust thickness of major and minor grid lines, respectively.

    Property Value Examples

    Value Example[1]
    1 (default) VCL Chart Control: The Default Thickness of Minor Grid Lines
    2 VCL Chart Control: Double Thickness of Minor Grid Lines

    Property Setter Behavior

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

    Property Values and Scaling

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

    Default Value

    The MinorThickness property’s default value is 1.

    Footnotes
    1. This example demonstrates different AxisY.Gridlines.MinorThickness property values on the same diagram.

      AxisY.Gridlines.MinorStyle and AxisY.Gridlines.Thickness properties are set to TdxStrokeStyle.Solid and 2, respectively.

    See Also