Basic Tasks with Charts


Unlike the orderly rows of numbers and labels that fill most worksheets, charts float above your data, locked inside special box-like containers. To take advantage of these chart boxes, you need to understand a little more about how they work.

Move and Resize a Chart

If your chart is an embedded chart, you can freely move and resize it with you mouse. When you insert a chart into an existing worksheet, it becomes a floating object, hovering above your worksheet. Depending on where Excel puts it, it may temporarily obscure your data. The chart box doesn't damage your data in any way, but it can end up hiding your worksheet's numbers and text.

You have to learn to grab hold of these floating boxes and place them where you really want them. The process is pretty straightforward:

  1. Click once on the chart to select it.

    You'll notice that when you select a chart, Excel highlights the worksheet data the chart uses. At the same time, three new tabs appear in the ribbon, under the Chart Tools heading.

  2. Hover over the chart border until the mouse pointer changes to a four-way arrow.
  3. Click and drag with your mouse to move or resize the chart.

    Using the four-way arrow, you can drag the chart anywhere on your worksheet, releasing the mouse button when it's in the right spot.

    Using the two-way arrow, you can drag the border to make the chart larger or smaller. Once you make a chart box larger.

  4. When you're finished, click a cell anywhere in the worksheet to go back to your data.

    At this point, life returns to normal, and the Chart Tools tabs disappear.

You can resize a chart in another way. You can set the Height and Width boxes in the Chart Tools: Format > Size section of the ribbon. Although this isn't as quick as dragging the chart edge, it lets you set the size exactly, which is indispensable if you have several charts on the same worksheet and you need to make sure they're all the same size.

Set Chart Height and Width from Chart Tools

You also can use standard cut and paste techniques to move an embedded chart. In fact, this is the only way move a chart from one worksheet to another. Select the chart and choose Home > Clipboard > Cut (or press Ctrl+X). Then activate a cell near the desired location and choose Home > Clipboard > Paste (or press Ctrl+V). The new location can be in a different worksheet or even in a different workbook. If you paste the chart to a different workbook, it will be linked to the data in the original workbook.

Charts Anchors

Although charts appear to float above the worksheet, they're actually anchored to the cells underneath. Each corner of the chart is anchored to one cell (these anchor points change, of course, if you move the chart around). This fact becomes important if you decide to insert or delete rows or columns anywhere in your worksheet.

For example, consider a chart, its top edge is bound to row 1, and its bottom edge is bound to row 13. Similarly, its left edge is bound to column D, and its right edge to column J. That means if you insert a new row between 1 to 13, the whole chart shifts down one row. If you insert a column to the left of column D, the whole chart shifts one column to the right.

Even more interesting is what happens if you insert rows or columns in the area that the chart overlaps. For example, if you insert a new row between the current row 8 and row 9, the chart stretches, becoming one row taller. Similarly, if you delete column E, the chart compresses, becoming one column thinner.

You can change this sizing behavior, first select the chart and head to the ribbon's Chart Tools: Format > Size section. Then, click the dialog launcher (the square-with-an-arrow icon in the bottom-right corner). When the Size and Properties dialog box appears, choose the Properties tab. You'll see three "Object positioning" options. The standard behavior is "Move and size with cells", but you can also create a chart that moves around the worksheet but never resizes itself ("Move but don't size with cells") and a chart that's completely fixed in size and position ("Don't move or size with cells").

Chart Size and Properties