Click here to see the SAS code. Click here to see the example. --------------------------------------------------------------- Using data from: http://cbo.gov/publication/42870 http://cbo.gov/sites/default/files/cbofiles/attachments/income_by_source2010.xls I download the xls data from the Internet programmatically in the SAS job. I Import it into a SAS data set (specifying the range of cells). I manually control the order in which the bar segments are stacked. I use a user-defined format for the stacking/coloring variable. And I move the legend from its default position (to center it with the bar segments). Back to Samples Index