Build a stock chart with two series
This article demonstrates how to create a stock chart with two series.
The picture above shows a weekly stock bar chart of Microsoft and Caterpillar. One bar shows you the highest price and the lowest price during that specific week, it also shows the closing price which is the price of the last deal done that week.
Instructions
- Rearrange columns like this: high, low and close
- Select columns High, Low and close
- Go to tab "Insert" on the ribbon
- Press with left mouse button on "Other Charts" and then "High-Low-Close"
- A chart is inserted on your active sheet
- Press with right mouse button on on chart and press with left mouse button on "Select Data..."
- Press with left mouse button on Edit button below Horizontal (Category) Axis Labels
- Select your date range
- Press with left mouse button on OK button twice
- Press with right mouse button on on chart again
- Press with mouse on "Select Data"
- Press with mouse on "Add" button below Legend Entries (Series)
- Select High column for the other stock you want plotted
- Press with left mouse button on OK twice
- Select the chart
- Go to tab "Layout" on the ribbon
- Select series 4
- Press with left mouse button on "Format Selection" below Series 4
- Change to "Secondary Axis"
- Press with left mouse button on Close
- Press with right mouse button on on chart again and press with left mouse button on "Select Data..."
- Add Low and Close series
- Go to tab "Layout" on the ribbon
- Select "Series 4"
- Press with mouse on "Lines" button and then "High-Low" Lines
- Select "Series 6" (Close)
- Press with left mouse button on "Format Selection"
- Go to "Marker Options", choose built-in marker type and the sixth symbol from the top.
- Select size 3
- Go to "Marker Line Color", select "Solid Line" and finally pick a color. I chose dark blue.
- Select "High Low Lines 2"
- Select "Solid Line" and select a color
- Press with left mouse button on Close
You now know how to change the color of high low lines and the closing line. Change the line color of all series (High, Low and Close) on the primary axis.
I chose black. Now delete the secondary axis and remove entries on the legend except "Close" and "Series 6". Change the name of series "Close" to Microsoft and "Series 6" to Caterpillar.
Get excel *.xlsx file
Stock chart category
This article demonstrates a macro that changes y-axis range programmatically, this can be useful if you are working with stock […]
This stock chart built in Excel allows you to change the date range and the chart is instantly updated. What's […]
The high-low-close stock chart displays the high, low and closing price for a given date range. Each line represents a […]
Excel categories
One Response to “Build a stock chart with two series”
Leave a Reply
How to comment
How to add a formula to your comment
<code>Insert your formula here.</code>
Convert less than and larger than signs
Use html character entities instead of less than and larger than signs.
< becomes < and > becomes >
How to add VBA code to your comment
[vb 1="vbnet" language=","]
Put your VBA code here.
[/vb]
How to add a picture to your comment:
Upload picture to postimage.org or imgur
Paste image link to your comment.
[…] https://www.get-digital-help.com/2016/11/16/build-a-stock-chart-with-two-series/ […]