Question:
Excel charting - rather than plot X and Y it's plotting 1,2,3,4.. for the X Axis?
2008-02-03 13:12:57 UTC
Series "Name" Point 1.921, (1,3.5)
Series "Name" Point 3.531 (2, 2.9)
Series "Name" Point 4.653 (3, 2,7)

Using the charting wizard Point 1.921 is from source data, x values. Why isn't excel plotting Point 1(1.921, 3.5) as would be expected? Why has it decided to plot integers as x coords instead?

Any help would be greatly appreciated!
Cheers
Three answers:
Tim
2008-02-05 21:58:44 UTC
It isn't clear from your question what data you are plotting, or the type of chart you are creating.



In the parentheses you have (1, 3.5), (2, 2.9), and (3, 2.7). If you have those number pairs in, say, columns A and B and you select them for the chart, then you will get 1, 2, and 3 on the X axis if you are creating an XY Scatter chart. Excel automatically puts the furthest left data as the X variable.



If you are creating a Line chart, then there really is no x variable and Excel is just labeling the X axis with their data point numbers. You can replace the X-axis labels in a line chart very easily. Just right click in the chart area and choose Source Data. Then, in the dialog box, go to the Series tab. At the very bottom you can specify a range of cells to be used for the X-axis labels.



Since you have numeric data and the X and Y variables are probably related, you should most likely be using an XY Scatter chart instead of a Line chart. So, enter your data into two or more columns and make sure that you X variable is in the first column.



Tim

http://www.tvmcalcs.com/blog/
?
2016-12-04 04:56:37 UTC
Excel has a in-built function called a Pivot Chart, and that's precisely what it incredibly is. It creates a chart from what you p.c.. yet creates it in a verticle besides as horizontal.
Otis Campbell
2008-02-05 15:23:23 UTC
Hmmm. Try putting the data into Values instead of Name. See if that's what's causing it.

Also, your data is not all in one cell is it?

Cell A1 should be "Point 1", Cell B1 should be 1.921, and Cell C1 should be 3.5

Cell A2 should be "Point 2", etc.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...