Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxChartAxisTicks.MinorLength Property

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

#Declaration

Delphi
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.

#Property Value 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 Setter Behavior

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

#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