How to customize chart axis
Most Excel charts consist of an x-axis and a y-axis, Excel allows you to easily change the looks of the chart axis.
The chart below is what Excel returns using a few random values as a data source, there are, however, no axis lines.
I have drawn a blue rectangle surrounding each group of axis values in the chart above.
To make it easier to see the changes I am about to do, I am now going to remove the major horizontal grid lines.
Simply click on the gridlines and press delete on your keyboard to remove them.
Font size of axis values
Axis value font type
Axis value font color
Customize axis line
Axis line tick marks
Tick marks interval
Axis line position
Add axis title text
Font size of axis values
To change the font size of the axis values select the axis you want to change.
Go to tab "Home" on the ribbon then click on font size.
I chose font size 16.
Tip! If you want to quickly format the y-axis with the same font size, follow these steps.
- Select the x-axis.
- Go to tab "Home" on the ribbon.
- Click on "Format Painter" button.
- Click on y-axis.
Both chart axis now have the same font size, this technique can be used on many different Excel objects, not only charts.
Axis value font type
- Click on the axis values you want to change.
- Go to tab "Home" on the ribbon.
- Click on font.
- Select a font.
Axis value font color
Customize axis line
- Right-click on x-axis values.
- Click on "Format Axis..."
- Click on the "Fill and Line" button.
- Click on Line to expand the Line settings
- Now you can change the color of the axis line, thickness, dashed or dotted and so on.
I exaggerated the axis line thickness and changed the color black to make it stand out.
Axis line position
- To change the position of the x-axis you must right click on the y-axis and vice versa.
- Click on "Format Axis..."
- Click on the "Axis Options" button.
- Find Horizontal Axis crosses and select Axis value.
- Change it to the value on the y-axis you want the x-axis to cross, or vice versa.
Add axis title text
The chart above has no descriptive titles, follow these simple steps to add chart axis titles.
How to add and customize chart data labels
The image above demonstrates data labels in a line chart, each data point in the chart series has a visible […]
How to add a linear trendline to a chart
Excel allows you to insert a linear chart trendline that displays a straight line calculated based on the method of […]
The image above demonstrates a line chart containing two data series and two y-axes, one for each data series. I […]
How to add a moving average to a chart
A moving average smooths out short-term variations to show a long-term trend or cycle. The chart above shows random values […]
How to customize the chart legend
You can easily customize the font, font size, font color etc of the chart legend: Select legend. Go to tab […]
How to add Error Bars in a chart
Enable error bars when you want to show, for example, standard deviations in a chart, Excel lets you insert error […]
Charts in Microsoft Excel lets you visualize, analyze and explain data. Charting in Excel is very easy and you […]
Chart gridlines are great for making the chart data more readable and detailed, Excel allows you to add major and […]
How to customize the chart area
The chart area contains all components. If you choose to format the chart area you can change things like border, […]
How to add a logarithmic trendline in a chart
Excel lets you easily add a best-fit curved logarithmic trendline calculated based on the method of least squares. How to […]
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.