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
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

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.
 

Forum statistics

Threads
1,141,667
Messages
5,707,723
Members
421,525
Latest member
carian1980

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
Top