

Scan the charts in the left pane and select the one that has a secondary axis.

This will open the Insert Chart dialog box. In the Charts group, click the Recommended Charts option.
#INSERT A LINEIN CHART HOW TO#
How to Plot a Line Chart Using Lap Times in Milliseconds in Google Sheets. Below are the steps to add a secondary axis to a chart: Select the dataset.Sparkline Line Chart Formula Options in Google Sheets.Scatter Chart in Google Sheets and Its Difference with Line Chart.How to Make a Vertical Line Graph in Google Sheets (Workaround).Enabling the Horizontal Axis (Vertical) Gridlines in Charts in Google Sheets.How to Move the Vertical Axis to Right Side in Google Sheets Chart.I have used the range F1:I to plot the line chart.įollowing this, we can add a vertical line to a line chart in which the source data contain texts on the x-axis. The formula is similar to the one in our earlier examples. In cell F1, insert the following FILTER and MAX combination formula. To get this window, go to Data > Data validation. We will use cell E1 to control the position of the vertical line.įor that, in cell E1, I’ve used the below data validation rule. Insert the field label “Focus Line” in cell D1 and keep the rest of the cells down blank.
#INSERT A LINEIN CHART SERIES#
Steps – Additional Series and FormulasĪs I have already mentioned at the very beginning, we require an additional series. Here are the required steps, which you may follow to add a vertical line to a line chart in Google Sheets. You will get to know the purpose of the range D1:D later on. There is only one series (y-axis) which is the range C1:C. In the following example, the category axis contains dates. Here you will see a new popup with 3D and 2D charts. Adding a Vertical Line to a Line Chart in Google Sheets – Dates on X-axis Then, loo at the Insert menu and then click on Line chart option. This post will help you add a vertical line to a line chart in both the scenarios in Google Sheets. If it contains text labels, we may require to follow a workaround solution. The x-axis in a line plot may usually contain dates/months/years as it visualizes changes in values over a specified time interval. It will work as expected if your category axis contains numeric/date/time values. We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you.Using an additional series that contains two data points, we can add a vertical line to a line chart in Google Sheets.īut it depends upon the data formatting of the category/horizontal axis (x-axis). And also you can follow us on Twitter and Facebook. If you liked our blogs, share it with your friends on Facebook.

