GBARLINE Procedure

About Bar-Line Charts

The GBARLINE procedure produces a bar chart based on the values of a chart variable and an optional response variable (SUMVAR= option). The computed statistic can be set with the TYPE= option. Each line plot uses the same chart variable and has an optional response variable (SUMVAR= option). A computed statistic can be set with the TYPE= option.
Parts of a Bar-Line Chart illustrates the parts of a bar-line chart.
Parts of a Bar-Line Chart
Parts of a Bar-Line Chart
Bar-line charts have three axes:
  • a midpoint axis that shows the categories of data, based on the chart variable
  • a left response axis that displays the scale of values for the bar statistic (based on the response variable, if specified)
  • a right response axis that displays the scale of values for the line statistic (based on the response variable, if specified)
The response axes are divided into evenly spaced intervals identified with major tick marks that are labeled with the corresponding statistic value. Minor tick marks are evenly distributed between the major tick marks. Each axis is labeled with the variable name or label. The right response axis is scaled to accommodate all the line variable response values when multiple PLOT statements are present.