Previous Page | Next Page

The SGPANEL Procedure

Example 3: Creating a Panel of Bar Charts


Procedure features: HBAR statement
Sample library member: GSGPNBAR

[Panel of Bar Charts]

This example shows a panel of bar charts. The COLUMNS= option in the PANELBY statement specifies that the panel contains a single column of cells.

 Note about code
proc sgpanel data=sashelp.prdsale;
  title "Yearly Sales by Product";
 Note about code
  panelby year / novarname columns=1;
 Note about code
  hbar product / response=actual;
run;

Previous Page | Next Page | Top of Page