Chapter Contents

Previous

Next
SAS/ACCESS Interface to SYSTEM 2000 Data Management Software: Reference

Charting Data

CHART procedure programs work with data described by view descriptors just as they do with SAS data files. The following example uses the view descriptor VLIB.EMPPOS to create a vertical bar chart of the number of employees each manager has had:

    proc chart data=vlib.emppos(s2kpw=demo);
       vbar manager;
       title2 'Data Described by VLIB.EMPPOS';
    run; 

Vertical Bar Chart Showing Number of Employees per Manager shows the information for this example. The number of employees for each manager is represented by the height of the bar.

Vertical Bar Chart Showing Number of Employees per Manager
                       Data Described by VLIB.EMPPOS                       1
 
       Frequency
 
       8 +                                                       **
         |                                                       **
       7 +                                                       **
         |                                                       **
       6 +                                                       **
         |                                                       **
       5 +             **                                        **
         |             **                                        **
       4 +             **    **             ** **             ** **
         |             **    **             ** **             ** **
       3 +    **    ** **    ** **          ** ** ** **    ** ** **
         |    **    ** **    ** **          ** ** ** **    ** ** **
       2 +    ** ** ** ** ** ** **    **    ** ** ** **    ** ** **
         |    ** ** ** ** ** ** **    **    ** ** ** **    ** ** **
       1 + ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
         | ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
         -----------------------------------------------------------
            A  C  F  G  H  I  J  J  J  J  M  M  O  P  P  R  S  T  V
            F  P  A  V  E  L  B  C  F  L  A  Y  M  Q  R  M  Q  Z  P
            G  W  C  H  B  P  M     S  H  S  J  G     K  J  T  R  B
 
                                   MANAGER

For more information on the CHART procedure, see the SAS Procedures Guide. If you have SAS/GRAPH software, you can create colored block charts, plots, and other graphics based on SYSTEM 2000 data. See SAS/GRAPH Software: Reference for more information on the kinds of graphics you can produce with this SAS software product.


Chapter Contents

Previous

Next

Top of Page

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