How to Set a Custom Starting Value for an Excel Chart Axis
Question details
The user wants to set a custom minimum starting value (e.g., 21:00) on an Excel chart's vertical axis to group specific time ranges, but encounters issues with data points missing from the chart.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Creating a line chart to visualize events occurring across a specific time range, particularly when tracking times that cross over midnight into the next day.
- Observed behavior
- When setting the vertical axis minimum to 21:00, time values that fall before this minimum (like early morning hours without associated dates) are excluded from the plot entirely.
Ensure your source data uses full date and time formatting (e.g., 'MM/DD/YYYY HH:MM') rather than just isolated time values. This is critical for any dataset where recorded events span across midnight.
Format Source Data and Adjust Custom Axis Bounds
Fix missing data points by converting time-only values to full date-time values, then set the numeric equivalent of your starting time in the axis options.
Spreadsheet software stores dates and times as continuous serial numbers. A standalone time is calculated as a fraction of a 24-hour day (for example, 21:00 is exactly 0.875). If your events span past midnight into a new day, time-only data restarts at 0.0.
Because 0.0 is less than your 0.875 minimum axis setting, those early morning data points fall outside the chart bounds. Adding the date ensures the system calculates the next day as a higher numeric value.
Highlight the cells containing your time data, right-click, and select 'Format Cells'. Under the 'Number' tab, choose 'Custom' and apply a format like 'm/d/yyyy h:mm'. Ensure you type the appropriate date along with the time in those cells.
To find the numeric value for your axis, type your starting time (e.g., 21:00) into a blank cell. Change that cell's format to 'General' to see the decimal equivalent (which is 0.875 for 21:00).
Right-click the vertical axis on your chart and select 'Format Axis' from the context menu to open the formatting panel on the right side of your screen.
In the 'Format Axis' pane, under 'Axis Options', locate the 'Bounds' section. In the 'Minimum' field, input the decimal value you found earlier (e.g., 0.875) and press Enter to apply.

Easily Customize Chart Axes in WPS Spreadsheet
WPS Spreadsheet offers an intuitive formatting interface that makes handling complex date and time visualizations simple. You can easily adjust axis bounds, apply custom time formats, and build professional charts seamlessly.
- 1. Open your dataset in WPS Spreadsheet: Launch WPS Office, open your spreadsheet containing the timeline data, and click on the chart you wish to modify.
- 2. Access the axis formatting panel: Double-click on the vertical or horizontal axis you want to adjust. The 'Object Formatting' pane will appear on the right side.
- 3. Adjust the axis limits: Click on 'Axis' properties (the chart icon), expand 'Axis Options', and locate the 'Bounds' inputs.
- 4. Apply your custom minimum value: Enter your specific decimal time value in the 'Minimum' box (like 0.875 for 9:00 PM) to instantly update the chart visualization.

Frequently Asked Questions
How do I find the correct numeric decimal for a specific time in Excel?
Type your target time (e.g., '18:00' or '6:00 PM') into any blank cell. Select that cell, go to the Home tab, and change the Number Format dropdown from 'Time' to 'General'. Excel will instantly reveal the decimal value you need for your axis bounds.
Why are my chart data points dropping to the bottom after 11:59 PM?
When your source data only contains time without dates, the software considers all entries to be on 'day zero'. At midnight, the time resets to zero. If you set a custom minimum axis of 21:00 (0.875), a midnight value (0.000) falls outside the visible range. Adding the date to the cell fixes this logical drop.
Can I format the axis to show times without displaying the dates?
Yes. Even if your source data cells contain both dates and times (which is necessary for correct plotting), you can right-click the axis, select 'Format Axis', scroll down to 'Number', and apply a custom format code such as 'hh:mm'. This hides the date text visually on the chart while preserving the accurate background calculations.




