question about drawing a line across a chart

ces005

Board Regular
Joined
Mar 13, 2006
Messages
189
Hi,

I am trying to draw a line with a fixed value across the entire chart. When I try to draw a line, there is a gap on the left and right hand side. If there are 5 tick marks (x-axis), I am plotting 5 points of the same value to try to get a straight line (chart type is one of the line types). Is there a better way to do this?

-Eileen
 

Some videos you may like

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

acw

MrExcel MVP
Joined
Feb 13, 2004
Messages
4,814
Eileen

Select the X axis, then format axis, Scale, then deselect the option to Value (Y) axis crosses between categories.

Does that help?


Tony
 

venkat1926

Well-known Member
Joined
Aug 21, 2005
Messages
4,824
try to use scatter with lines joining the pointschart for the fixed line chart. first figue in the middle
 

ces005

Board Regular
Joined
Mar 13, 2006
Messages
189
formatting the x-axis

Thanks a lot. Formatting the x-axis worked.
 

Watch MrExcel Video

Forum statistics

Threads
1,114,041
Messages
5,545,687
Members
410,698
Latest member
Wloven
Top