| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |
Arguments: chart-widget
Returns the value of the scroll-on-drag property of
a chart-widget
. The value
may be set at creation time by passing
the :scroll-on-drag
initarg, or any time later by
calling (setf
scroll-on-drag).
scroll-on-drag is a
boolean value indicating whether the user can scroll
a chart-widget
along its item-axis
by clicking and dragging the chart body. The default value
is t
.
Mouse scrolling is done by clicking down anywhere in the body of the chart and then dragging along the direction of the item-axis. The chart contents will move by an amount equal to the mouse movement distance multiplied by the scroll-on-drag-factor property.
Even when this property is nil
, a
chart-widget
can
still be scrolled with the PageUp, PageDown, and arrow keys. See
scroll-line-items and
scroll-page-portion.
A chart is never scrollable if its fit-chart-items property is true, because it then squeezes all data into the viewable area.
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.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |