TdxChartAxisTicks Class
Stores appearance settings of axis tick marks.
Declaration
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.
- Hide or display major and minor ticks on an axis (Visible and MinorVisible).
- Position value labels along their axis (LabelAlignment).
- Specify how major and minor ticks are displayed along their axis (CrossKind and MinorCrossKind).
- Adjust thickness of major and minor ticks (Thickness and MinorThickness).
- Change length of major and minor ticks (Length and MinorLength).
- Avoid excessive redraw operations during batch tick mark appearance changes (BeginUpdate, CancelUpdate, and EndUpdate).
- Copy tick mark appearance settings between axes (Assign).
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:
- Length
- Specifies length of major tick marks on an axis, in pixels.
- MinorLength
- Specifies length of minor tick marks on an axis, in pixels.
- MinorThickness
- Specifies thickness of minor tick marks on an axis, in pixels.
- Thickness
- Specifies thickness of major tick marks on an axis, in pixels.
Direct TdxChartAxisTicks Class References
The TdxChartCustomAxis.Ticks property references a TdxChartAxisTicks
object.
Inheritance
See Also