logo Getting Started with SAS Enterprise Guide Main menubacknext
    

Assign Columns to Roles

In these steps you assign a column that determines the different bars and a column that determines the length of each bar.

  1. In the selection pane, select Data. In the Columns to assign list, select CategoryID and drag it to the Column to chart role.

  2. In the Columns to assign list, select UnitsInStock and drag it to the Sum of role.

Columns assigned to Bar Chart task roles
Click to view the full window.

Note As you select options in the task window, SAS Enterprise Guide generates the SAS code that creates the results. If you want to see the code, click the Preview code button in the task window.

Next you run the task and view the bar chart.


Main menubacknext