Creating the basic line chart Line charts are most useful for representing change over time. Time is plotted on the horizontal axis, and the quantity of.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Creating the basic line chart
Line charts are most useful for representing change over time. Time is plotted on the horizontal axis, and the quantity of whatever is being measured is on the vertical axis.
However, Excels default strategy for plotting line charts is to treat both the time periods and the quantity as two series to plot again a numeric sequence of time periods that start with 1, 2, 3, etc. To get the plot we want, we will have to explicitly tell Excel how to handle the data that we input to the chart.
We can bypass the need to make these adjustments by using an XY (Scatter) chart instead of a line chart. However, if we use an XY (Scatter) plot, we cannot use drop lines that extend from each data point down to the horizontal axis, a feature that can be very helpful in interpreting charts over time.
While a line chart can be created with only the quantity of the characteristic for each time period, it will save time in the long run to include the time period as well as the quantity in the range of cells that will be used for the chart.
If we do not include the time periods, Excel will label them with the numeric sequence: 1, 2, 3, etc.
While a line chart can be created with only the quantity of the characteristic for each time period, it will save time in the long run to include the time period as well as the quantity in the range of cells that will be used for the chart.
If we do not include the time periods, Excel will label them with the numeric sequence: 1, 2, 3, etc.
The basic line chart that incorrectly depicts the data
Excel creates a basic line chart with a legend indicating erroneously that there are two independent data series for the chart, instead of one data series with time period and quantity.
To correct this problem, we will modify the way Excel uses the source data.
Excel creates a basic line chart with a legend indicating erroneously that there are two independent data series for the chart, instead of one data series with time period and quantity.
To correct this problem, we will modify the way Excel uses the source data.
Type the time period range for the horizontal axis data
The data for the time periods is in cells A1 through A6. To tell Excel to plot this range of cells on the horizontal axis, we type the cell referent in the Category (X) axis labels text box.
The data for the time periods is in cells A1 through A6. To tell Excel to plot this range of cells on the horizontal axis, we type the cell referent in the Category (X) axis labels text box.
Click an insertion point in the Category (X) axis labels text box, and type =Sheet1!$A$1:$A$6 as the address for the range of data that contains the time periods. Do not press the Enter key to complete the entry as that will close the dialog box.
Click an insertion point in the Category (X) axis labels text box, and type =Sheet1!$A$1:$A$6 as the address for the range of data that contains the time periods. Do not press the Enter key to complete the entry as that will close the dialog box.
Excel used the time period data for Series1 in the chart it created. Since this was not what we intended, we will remove Series1 as a data series in the chart.
Excel used the time period data for Series1 in the chart it created. Since this was not what we intended, we will remove Series1 as a data series in the chart.
Second, click on the Remove button to exclude it as a data series in the chart.
Second, click on the Remove button to exclude it as a data series in the chart.
First, if necessary, click on Series1 in the Series list box to select it.
First, if necessary, click on Series1 in the Series list box to select it.
When we remove the Series1 data, Excel redraws the preview of the chart. The time periods are now correctly plotted on the horizontal axis, and the quantity is correctly plotted on the vertical axis, with the pink line indicating differences in this quantity over time.
When we remove the Series1 data, Excel redraws the preview of the chart. The time periods are now correctly plotted on the horizontal axis, and the quantity is correctly plotted on the vertical axis, with the pink line indicating differences in this quantity over time.
While a few of the tools buttons on the chart tool bar enable us to enhance the chart, there are many that are missing. We will close the chart tool bar and use popup context menus to add features to the chart.
While a few of the tools buttons on the chart tool bar enable us to enhance the chart, there are many that are missing. We will close the chart tool bar and use popup context menus to add features to the chart.
To close the chart tool bar, click on its close box.
To close the chart tool bar, click on its close box.
While a few of the tools buttons on the chart tool bar enable us to enhance the chart, there are many that are missing. We will close the chart tool bar and use popup context menus to add features to the chart.
While a few of the tools buttons on the chart tool bar enable us to enhance the chart, there are many that are missing. We will close the chart tool bar and use popup context menus to add features to the chart.
To close the chart tool bar, click on its close box.
To close the chart tool bar, click on its close box.