| The SGPANEL Procedure |
| Procedure features: | HBAR statement |
| Sample library member: | GSGPNBAR |
![[Panel of Bar Charts]](images/gsgpnbar.gif)
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.
| |
proc sgpanel data=sashelp.prdsale; title "Yearly Sales by Product"; |
| |
panelby year / novarname columns=1; |
| |
hbar product / response=actual; run; |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.