Vertical Line on a graph

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi

Add another series with just 2 points

(Sal,0)
(Sal,Max)
 
Last edited:
Upvote 0
Hi

Add another series with just 2 points

(Sal,0)
(Sal,Max)

Thank you for your reply.

Yes I have tried that but it does not work. Maybe I'm doing something wrong but do I need to combine this scatter diagram with a bar diagram with those two points?

Would you be able to illustrate it on the uploaded file?

Many thanks
 
Upvote 0
Hi

No. Just add the new series that is also scatter.

In the ribbon Chart Tools->Design->Select Data add the new series with just those 2 points.
 
Upvote 0
So I have added the two points but naturally as this is a scatter diagram, I only get two points on the graph rather than a line.

Hi.

No, there are 5 types of scatter charts:

Scatter with only Markers
Scatter with Straight Lines
Scatter with Straight Lines and Markers
Scatter with Smooth Lines
Scatter with Smooth Lines and Markers

You are using the first one and you should be using the second or the third (depending on whether you want to see the markers)

Right-click on one of the markers and choose

Change series chart type...

and select the type you want.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,876
Members
452,363
Latest member
merico17

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