About data labels

Data labels give information about individual data representations on a graph. Different graphs have different types of data representations and thus offer different types of data labels. Usually, data labels are generated from values in the variables being graphed, but you can also specify a column containing your own custom labels.

Examples of data labels

Histogram

Bars are labeled with y-scale values.

Boxplot

You can add labels to outliers, medians, means, and individual data. Here, the boxplot has a mean label.

Pie Chart

You can add labels for individual slices with percent, frequency, and category names.

Add data labels to a graph

You can add data labels to most Minitab graphs.

  1. Do one of the following:
    • To add data labels when you create a graph: in the dialog box for the graph you are creating, click Labels then click the Data Labels tab or the tab for the specific type of data labels.
    • To add data labels to an existing graph: right-click the graph and choose Add > Data Labels.
  2. Under Label Type, choose one of the following:
    • Use y-value labels: Use y-axis values for data labels.
    • Use row numbers: Use worksheet row numbers for data labels (not available with histograms or bar charts).
    • Use labels from column: Use values stored in a column for data labels.
  3. Click OK.

Modify the data label alignment and position

You can change the following settings for data labels:
Alignment
The angle at which the data label appears. For example, you can change the angle when labels might overlap without changing the alignment.
Offset
The offset is an anchor point for the label in relation to the item being labeled. On a histogram, the default anchor point for data labels is centered just above each bar, but with offset you could specify that labels attach at the upper left corner of each bar, just under the top of each bar, and so on.
Position
How the label text is positioned relative to the anchor point. By default, labels are centered above the anchor point, but you can specify that they attach to the left or right and above or below the anchor.
  1. Double-click a data label, then click the Alignment tab.
  2. To change the alignment, in Text angle, specify an angle away from the horizontal.
  3. To change the offset, under Offset, choose Custom and then choose a horizontal and vertical position.
    Horizontal 0, Vertical 0 (default)
    Horizontal −0.05, Vertical −0.05
    Horizontal 0.05, Vertical 0.05
  4. To change the position, under Position, choose Custom, then choose a label position relative to the anchor point.
    Position To the left To the right
    Above
    Centered
    Below
  5. Click OK.
By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy