Chapter Contents

Previous

Next
SAS/AF Software: Class Dictionary

Setting the Animation Mode in a Scatter Control

Scatter controls have an actionMode attribute, which determines the action taken when the user interacts with the control. For information on setting the mode, see Setting the Action Mode in a Scatter Control.

Some of the actions are animation actions (Move, Rotate, Tilt, Spin, or Zoom), which means the graph moves or changes appearance as you drag the control within its border. For example, with the Zoom action, the graph is zoomed in or out within its border.

During the animation action, you can display the graph as an empty wire frame, or as a graph filled with its assigned colors and shading. The wire frame yields better performance, but the filled graph looks better and provides better analysis capabilities while the action is in progress.

To set this animation mode, use the animateMode attribute. Valid values for animateMode are Wireframe and Filled. For example, for an control named scatter1, the following code sets the animateMode attribute to Filled:

scatter1.animateMode = 'filled';


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.