Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version