Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
This page is new in 8.1. Moderate update since 8.1 release.

minor-tics-per-major-tic

Arguments: chart-axis

Returns the value of the minor-tics-per-major-tic property of a chart-axis. The value may be set at creation time by passing the minor-tics-per-major-tic initarg, or any time later by calling (setf minor-tics-per-major-tic).

The number of minor tic positions per major tic position on a chart-axis in a chart-widget. The value should be a positive integer, or else nil to use a default value. The default value is nil for a value-axis and 1 for an item-axis.

For a value-axis, a value of nil causes the number of tics to be computed automatically such that the increment from one minor tic position to the next is a relatively "round" number. This is done after the major-tic-increment has been determined. For an item-axis, a value of nil simply defaults to 1.

This value is actually the number of minor tic increments from one major tic position to the next. That is, if the value is 5 then 4 minor tic marks will be drawn between the surrounding major tic marks to measure 5 increments from one major tic mark to the next.

A value of 1 means that there are no minor tic positions between major tic positions, resulting in a chart that has only major tic marks, major tic labels, and/or major grid lines.

See also draw-major-tics and draw-minor-tics.

See chart-widget and also cg-chart-widget.htm.


Copyright (c) 1998-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. This page is new in the 8.1 release.
Created 2007.4.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
This page is new in 8.1. Moderate update since 8.1 release.