• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Adding a vertical line on a line graph?

In the attached file, I am trying to graph the Strike Price (purple) as a vertical dashed bar at $105. It is coming out horizontal.

Is this possible?
 

Attachments

  • Options Risk Graphs.xlsx
    12.7 KB · Views: 4
Try changing you chart type to XY Scatter, then add a row in the chart's source data so that the strike price shows up twice, add a column and put max and min values against the 2 strike prices, plot the additional column as an additional series.
See attached.
 

Attachments

  • chandoo22762 Options Risk Graphs.xlsx
    12.8 KB · Views: 12
Thank you everybody. So now I have a vertical line on a secondary axis. But I don't want the axis to show. If I disable it from the Layout tab, my vertical line also goes away with the secondary axis

How can I retain the vertical line and remove the secondary axis?
 
Back
Top