Skip to main content

TdxChartAxisTicks.MinorLength Property

Specifies length of minor tick marks on an axis, in pixels.

Declaration

property MinorLength: Single read; write;

Property Value

Type Description
Single

The current length (in pixels) of minor tick marks at 96 DPI. The property value can be 1 or higher.

Remarks

Use Length and MinorLength properties to adjust length of major and minor tick marks on an axis, respectively.

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

Examples

Value Example[1]
2 (default) VCL Chart Control: Minor Tick Marks with the Default Length on X and Y Axes
5 VCL Chart Control: Equal Minor and Major Tick Marks on X and Y Axes

Property Values and Scaling

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

The MinorLength property’s default value is 2.

Footnotes
  1. These examples demonstrate different AxisX.Ticks.MinorLength and AxisY.Ticks.MinorLength property values on the same diagram.

See Also