Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

overlap-major-and-minor-labels

Arguments: chart-axis

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

A boolean value indicating whether the area that is allocated for the major tic labels of a chart-axis in a chart-widget overlaps the area that is allocated for minor tic labels. The default value is t.

When this property is true, both major and minor tic labels are printed just at the ends of the tic marks (with a small gap provided by the margin-inside-major-labels and margin-inside-minor-labels properties). If the label strings are sufficiently long, a major label and a minor label could run into each other. (A chart-widget by default will space things out so that successive major labels do not overlap each other, and so that successive minor labels do not overlap each other, but it does not guarrantee that a major label will not overlap a minor label when this property is true.)

When this property is nil, then major labels are printed in an area that is completely outside the area in which minor labels are printed. This uses up more space, but guarrantees no overlap between major and minor labels. This option also allows minor tic labels to be printed at major tic positions, in addition to the major tic labels; this can be useful, for example, to print a month on every minor tic of an item-axis and a year on every major tic.

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

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


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version