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

## draw-major-tics

Arguments: chart-axis

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

A value indicating whether (and how) tic marks are drawn for the major tic positions of a `chart-axis` in a `chart-widget`. Here are the possible values:

- `nil` - Major tic marks are not drawn.
- `t` - Major tic marks are drawn, and are drawn at the major tic positions. This is the default value.
- `:after` - Each major tic mark is drawn midway between its official position and the position of the next major tic mark. This may be useful for delimiting groups of non-stacked bars, for example, rather than pointing to the middle of each group of bars. This choice is probably not aesthetic when draw-minor-grid-lines is true.
- `:before` - Like `:after`, except that each tic mark is drawn between its official position and that of the previous tic mark.
- `:between` - Like `:after` and `:before` except that no tic mark is drawn before the first major tic position or after the last one.

See also draw-major-labels, major-tic-length, major-tic-width, major-tic-increment, 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