XL: 1-2-3 Commands to Attach Text Data Labels to a Chart
ID: Q111354
|
The information in this article applies to:
-
Microsoft Excel for Windows, versions 3.0, 4.0, 4.0a, 5.0, 5.0c
-
Microsoft Excel for Windows 95, versions 7.0, 7.0a
-
Microsoft Excel 97 for Windows
SUMMARY
In Microsoft Excel versions 4.0 and earlier, there is no way to
automatically place a group of text data labels on a chart.
To create text data labels, you must attach them to data points by using
the Attach Text command from the Chart menu. Each data label must be
manually updated to refer to the original worksheet cell containing the
label to be attached to the data point.
Additionally in versions 5.0 and later, there is no way to automatically
assign data labels to a range of cells that is not the default for x-axis
labels.
WORKAROUND
Because Microsoft Excel has built-in Lotus 1-2-3 compatibility, you can
add data labels as a group by using the equivalent Lotus keystrokes to
create a graph.
MORE INFORMATION
To use 1-2-3 commands to add data labels as a group, follow these steps:
- On a new worksheet, enter the following:
A1: Dog B1: 10 C1: Rover
A2: Cat B2: 20 C2: Kitty
A3: Mouse B3: 30 C3: Mickey
A4: Bird B4: 40 C4: Tweety
- On the Help menu, click Lotus 1-2-3 Help.
- In the "Help for Lotus 1-2-3 Users" dialog box, under Help Options,
select Demo.
- To create a chart using Lotus 1-2-3 keystrokes, follow these steps:
- Click Graph> and click OK.
- Click X... and click OK.
- Select cells A1:A4 and click OK in the "Help for Lotus 1-2-3
Users" dialog box.
- Click A... and click OK.
- Select cells B1:B4 to define the first series, and then click OK.
- Click Options> and click OK.
- Click Data-Labels> and click OK.
- Click A... and click OK.
- Select cells C1:C4, and then click OK.
- Click Quit and OK.
- Click Quit and OK to return to the main Graph menu.
- Create an x-y scatter chart by clicking Type and OK, then click
XY and OK.
The demo mode will draw the chart and return to the main Graph
menu.
- Click Save> and click OK, then click Attach... and click OK.
- Select the range on the worksheet that you want to contain the
chart, then click OK.
Click Close to close the Help For Lotus 1-2-3 Users dialog box. The chart
is displayed on the worksheet with the text from column C as the data
labels. You can then make any modifications to this chart as with any
Microsoft Excel chart object.
NOTE: The default chart type is a line chart. To create a different style
of chart after selecting your series A, press T (Type), and then select a
different chart type.
To change the chart type once the chart has been created, use the
appropriate method for your version of Excel.
In Excel 97
On the Chart menu, click Chart Type, and select a different type of
chart.
In Excel Versions 5.0 and 7.0
On the Chart menu, click AutoFormat, and select a different type of
chart.
In Excel Version 4.0 and Earlier
On the Chart menu, click Main Chart, and select a different type of
chart.
REFERENCES
For additional information, please see the following articles in the
Microsoft Knowledge Base:
Q161513 XL: Macro to Add Labels to Points in an XY (Scatter) Chart
Q107484 Excel AppNote: Tips for Manipulating Data in a Chart
(XE0183)
Additional query words:
4.00a 8.00 97 how to add labels xy scatter charts
Keywords : xlchart
Version : WINDOWS:3.0,4.0,4.0a,5.0,5.0c,7.0,7.0a
Platform : WINDOWS
Issue type :
|