Back to Devexpress

TdxChartAxisTicks Class

vcl-dxchartxydiagram-9d176a4a.md

latest3.8 KB
Original Source

TdxChartAxisTicks Class

Stores appearance settings of axis tick marks.

Declaration

delphi
TdxChartAxisTicks = class(
    TcxLockablePersistent
)

Remarks

Tick marks divide an axis into even sections and help users compare series points on an XY diagram. The TdxChartAxisTicks class implements tick mark appearance settings.

Main API Members

The list below outlines key class members that allow you to customize tick mark appearance.

Appearance Settings

LabelAlignmentPositions value labels along their axis.CrossKind | MinorCrossKindSpecify how major and minor tick marks are displayed along their axis.Thickness | MinorThicknessAllow you to adjust thickness of major and minor tick marks.Length | MinorLengthSpecify major and minor tick mark lengths.

General-Purpose API Members

Visible | MinorVisibleHide or display major and minor tick marks on an axis.BeginUpdate | EndUpdate | CancelUpdateAllow you to avoid excessive redraw operations during batch tick mark appearance changes.AssignCopies tick mark appearance settings between axes.

Numeric Settings and Scaling

All numeric properties of the TdxChartAxisTicks class specify tick mark dimensions in pixels at 96 DPI. The Chart control’s draw routines multiply the following property values by the current scale factor to calculate tick mark dimensions on the target screen:

LengthSpecifies length of major tick marks on an axis, in pixels.MinorLengthSpecifies length of minor tick marks on an axis, in pixels.MinorThicknessSpecifies thickness of minor tick marks on an axis, in pixels.ThicknessSpecifies thickness of major tick marks on an axis, in pixels.

Direct TdxChartAxisTicks Class References

The TdxChartCustomAxis.Ticks property references a TdxChartAxisTicks object.

Inheritance

TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TcxLockablePersistent TdxChartAxisTicks

See Also

TdxChartAxisGridlines Class

TdxChartAxisAppearance Class

TdxChartAxisTicks Members

dxChartXYDiagram Unit