Create a Candlestick Chart with Relative X-Axis Labels in Excel
Question details
Create an Excel candlestick chart with relative x-axis labels and labels for individual candlesticks.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user wants to chart open, high, low, and close values against relative positions rather than only calendar dates.
- Observed behavior
- The desired chart displays candlesticks with meaningful relative x-axis labels and identifies individual candles.
Arrange the source data in chronological order with columns for the x-axis label, Open, High, Low, and Close. Decide whether relative positions such as 0, 1, and 2 are equally spaced categories or require spacing based on their numeric differences.
Create a Stock Chart with Relative Category Labels
Use this method when each candlestick can be equally spaced and the x-axis should show relative labels.
Excel's Open-High-Low-Close stock chart uses a category or date axis, not a true numeric value axis. Relative labels such as -2, -1, 0, and 1 can identify equally spaced candles, but their numeric differences do not control spacing.
In a worksheet, enter headers such as Relative position, Open, High, Low, and Close in that order. Add one row per candle, with relative labels in the first column and numeric price values in the remaining columns.
Select the header row and data, then choose Insert > Insert Waterfall, Funnel, Stock, Surface, or Radar Chart > Stock > Open-High-Low-Close. The chart menu name can vary by Excel version.
Right-click the chart and choose Select Data. Under Horizontal (Category) Axis Labels, click Edit and select the cells containing your relative positions.
Right-click the horizontal axis, choose Format Axis, and select Text axis under Axis Options if Excel treats the labels as dates.
Select the chart, choose Insert > Text Box, and draw a text box near a candle. Select the text box border, click the formula bar, enter a reference such as =Sheet1!$F$2, and press Enter. Repeat for other candles and position the boxes manually.

Use a Date Axis for Calendar-Based Candle Spacing
Use a date axis when candle spacing should reflect elapsed calendar time rather than equally spaced relative categories.
Explore Spreadsheet Charts with WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and Microsoft Office format compatibility for an easier transition. It does not change Excel's stock-chart axis behavior; check chart options in your WPS version before migrating a candlestick chart.

Frequently Asked Questions
What data does an Excel candlestick chart need?
An Open-High-Low-Close stock chart needs a category or date column followed by numeric Open, High, Low, and Close columns. Select the table before choosing the stock chart from Insert.
Can the candlestick x-axis show relative positions instead of dates?
Yes. Put labels such as -2, -1, 0, and 1 in the first column, then select them under Select Data > Horizontal (Category) Axis Labels. Use a text axis for equally spaced categories.
Will a stock chart space relative values according to their numeric differences?
No. A standard stock chart uses a category or date axis rather than a numeric value axis. Irregular numeric spacing requires a custom approach, such as an XY-based chart.
How can I label each individual candlestick?
Select the chart and use Insert > Text Box to add a label near each candle. You can link a selected text box to a worksheet cell by entering a cell reference in the formula bar, but you must position the boxes manually.




