x-y grid lines in graph

MetLife

Active Member
Joined
Jul 2, 2012
Messages
283
Hi,

I am trying to format a graph so that the x and y axis are identical to a Cartesian plain. So the Y axis crosses the X axis at the origin.

It seems that I can't get this to work.

I tried highlighting the Y axis and going to properties, then changing the min and max from auto to fixed. This solved the range for the Y axis, but I could not find a similar option in properties for the x axis.

The properties under the x - axis have the option:
Vertical axis crosses:
At category number: "0"

I put in "0" but it always changes it back to "1" and it doesn't move the location of the y axis to the 0 value on the x axis.


I am using excel 2010, does anyone know how to fix this?

Thanks
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hmm . . . I can't replicate this.

When I try plotting some random numbers in a XY chart, I don't get the "At category number" option, the only options are Automatic, Axis Value, or Maximum Axis value, which all work as expected.

What type of data are you using, in particular on the X axis ?
And what type of chart have you got ?
 
Upvote 0
You've got yourself a line chart. The X axis in a line chart is not a numerical axis; it treats X values as nonnumeric (text) labels.

Make an XY Scatter chart. Here the X axis works just like the Y axis. You can format the series in a line chart and a scatter chart the same: with or without markers, with or without connecting lines.
 
Upvote 0

Forum statistics

Threads
1,214,409
Messages
6,119,339
Members
448,888
Latest member
Arle8907

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top