Some tips, tricks and techniques for better looking charts in Microsoft Excel.
The charting tools in the modern versions Microsoft Excel are way better in looks and functionality from those that were available in earlier Excel versions. While the charts look better, not all the options you can use to make them more functional are immediately apparent. In this post I'll show you some handy tips, tricks and techniques for creating charts in Excel that will help you get your work done more effectively.
Black and white patterns
New to Microsoft Office 2010 is the ability to use grayscale pattern fills for your chart. To see this at work select a chart and choose Chart Tools > Layout Tab and select the series to edit from the dropdown box at the top left of the ribbon. Choose Format Selection (just below this on the ribbon) and choose Fill > Pattern Fill. For a monochrome chart set the foreground color to black and the background color to white and select a fill pattern for the series. Repeat this this for the second series choosing a different pattern. You don't have to use black and white as your colors just choose different patterns to ensure the charts can be understood when printed on a monochromatic printer or photocopied in black and white.
You can fill a chart with a pattern in Excel 2010 and higher, so it can be printed on a monochrome printer or photocopied in black and white.
Save an Excel chart as a picture
You can save a chart as a picture from inside Excel so you can use it elsewhere such as in a report or on the web. To do this you will use a workaround and the simplest way to do it is to size the chart on the worksheet so it is a good size. Choose File > Save As, select the location to save the file in and from the Save As Type dropdown list choose Web Page (*.htm;*.html), type a name and click Save.
This converts the worksheet to an html file and because html files cannot contain images the chart is saved separately and linked to the html file. You can find your chart in the folder that you saved the html file into. So, if your file was called sales.htm then the images will be in a folder called sales_files . The image is saved as a standalone PNG file. Of course, you'll also need to save your Excel worksheet if you want to save the data and chart to work on in Excel in future.
You can save a chart as an image file if you need to use it in another project later on.
For more information, please see How to save Excel graph as picture.
Adjusting column overlap and spacing
If you think your chart would look better if the columns were wider or if they overlapped you can do this. To adjust the overlap between two chart series or to change the spacing between columns, right click any series on the chart and choose Format Data Series. Use the Series Overlap option to spread the series apart by dragging towards Separated or Overlap the series by dragging towards Overlapped.
You can adjust the Gap Width to move the series closer together or further apart. If you have two chart series that you want to overlap and if the smaller series ends up behind the larger one you will need to change the chart plot order. First set the overlap so they overlap as you want them to do. Then right click the data series you can see and choose Select Data. Click on Series 1 and select the Move Down button to place it behind Series 2. This changes the order that they are plotted in so you can see the smaller data in front of the larger data.
Larger bars
When you are plotting date-based data, you may find that the bars in your chart are very narrow. The solution for this is to click the Excel chart's X axis, right click and choose Format Axis. Select Axis Options and then click on Text Axis to select it. This changes the way the axis is plotted giving wider bars. You can then adjust the gap width if necessary to make them wider.
Plotting on a second axis
When you are plotting very small data such as percentages against much larger data like millions the percentages will get lost and will not be visible. You can solve the problem by plotting the percentages against a different axis. Select the chart and choose Chart Tools > Layout Tab and then from the chart element selector in the top left corner, select the series that is difficult to see. Click Format Selection which appears immediately below this and from the series option group, select Secondary Axis and click Close. Without moving the selection, choose Chart Tools > Design Tab and choose Change Chart Type. You can now select a different chart type such as line. Because you have a series selected that will applied to only that series not the entire chart so you will end up with a combination chart with for example a column chart with a line chart over the top. I like the text on the chart axis to match the color of the relevant part of the chart that that relates to. So if I have green bars I'll type green text on the axis relating to that and a red line will have a red font on its axis.
Creating combination charts
Microsoft Excel does not make it clear that you can create combination charts; however it's easily possible to do so. To do this, select the data and plot the first chart type such as a column chart. Then select the series that you want to show in a different way such as a line chart and choose Chart Tools > Design Tab > Change Chart Type and select the second chart type. Some types cannot be combined sensibly such as bar and column but a line and column chart work well together.
Auto growing Excel charts
If you have data that is going to grow over time you can create your chart so that it will get bigger as more data is added into your data store. To do this, format your data as a table by selecting the data and from the Home Tab on the ribbon, choose Format as Table. Now because your data is formatted as a table if you base your chart on the table data, adding more data to the table will grow the chart automatically.
Smarter chart title
You can have the chart title lift its contents from a cell on the worksheet. First add a chart title using Chart Tools > Layout Tab > Chart Title and position it for example above the chart. Click in the box for the chart title then click on the formula bar on the ribbon and type the cell reference of the cell containing the data to place as the chart title. If you need to preface it with the sheet name so D5 on sheet 1 should read blank. Now whenever the contents of that cell are changed so too will the chart title change.
Variable colors for Excel charts
When you have a chart that plots only one data range, you will find that Excel colors every bar the same color. You can change this by clicking on the series, right click and choose Format Data Series and then Fill. If only one series is included in the chart then an option Vary colors by point will be selectable.
Of course, you can always click an individual series to select it, right click and choose Format Data Point and then set a specific color for that data point.
Controlling zeros and missing data
When you have zero values or missing data in a chart you can control how the zeros are shown by selecting the chart series then choose Chart Tools > Design Tab and click Select Data > Hidden and Empty Cells. Here you can select whether empty cells are shown as gaps, zero or if the chart is a line chart whether the data point should be connected with a line. Click Ok when you've made your choice.
Note. This is only for missing values not zeros.
Charting noncontiguous data
To chart data that is not lined up in columns side by side use the Excel shortcut of holding the Ctrl key as you select each data range. Once the ranges are selected, go ahead and create your chart from the selected data.
Save a chart as a template
To save a chart as a template so that you can reuse it over and over again first create the chart making it look the way you want it to look. Select it, click Chart Tools > Design Tab and click Save as Template. Type a name for the chart and click Save. You can later apply this format to another chart by using it when you create the chart or an existing chart to look like the one you have created. To do this, click the chart to select it, from the Chart Tools > Design Tab choose Change Chart Type, locate the templates option and select your template and click Ok.
For more detail, see How to create a chart template in Excel.
Tip. You can also save the workbook with your favorite chart as an Excel template and reuse whenever you want.
These charting tips and tricks will get you started creating better looking charts faster and more effectively in Excel.
48 comments
Hi,
Is it possible to change the colours in a Excel 2010 bar chart depending on different ranges of the x-axis
For example, I have a bar chart of 30 columns of data each representing a different age.....I want the first 10 in blue, the second 10 in red and the last 10 in Green.
This is to group the data by colour within the bar chart.
Is this possible???
Thanks
In general, it is possible and you can find more information here:
http://www.clearlyandsimply.com/clearly_and_simply/2011/08/color-coded-bar-charts-with-microsoft-excel.html
If you need to know some particular details, I think you'd better contact the author of the solution, he would be able to give a more competent response :)
I am trying to make the bars of my bar graph wider. I followed the instructions that are provided on this page for making wider bars by changing the Axis setting to Text. All that did was remove all my dates from the x axis except my first date and put all the bars on that one date. Note each date has 2-4 bars.
Can you please send us your sample workbook for testing at support@ablebits.com? This would help us pin down the cause of the problem and work out a solution.
Hi, i have 3 columns of data. I want the first 2 columns to be shown in overlapping bar chart and the 3 as separate. When i tried to select the 3rd series and change the bar style to side by side (normal), excel select all the three series and convert everything. Is there any solution, sir
Hi I am using excell 2010
Can u please assist me on solving my problem. When I enter a name on the spread sheet l want the block next to the name
change to a certain colour when I enter the name the second time I want to change it to a different color. This must happen with all the names which l insert
For me to be able to help you better, please send us your sample workbook at support@ablebits.com. Please describe the expected results in more details.
Sorry, but we do not know an easy way to achieve this. I know how to do this only via an html page or using a custom VBA script.
A line graph has a line plotted with transparency set to 75% so that it appears as a light ghost image in the background on a multi-line graph.
On "mouse over", this line is required to assume transparency of 0%.
How can that be accomplished in Excel?
Thank you.
I have five lines on an Excel line graph. I would like to present the graph without any plotted data - ie, only the axes and the empty legend - initially at a presentation. Then I want to introduce each plotted data line, along with its entry in the legend, as I click the mouse - much like one can do with ordered, sequenced presentation in a Powerpoint slide.
Is this possible, and if so how?
Thanks in advance for your help.
I'm working in Excel 2010 with a column chart. I have some points that each of the data series is zero. I would expect to see nothing in the column but there is a colored area as if there is something there, but all the data elements are zero. The same color seems to "cap" each of the columns in the chart. Is there anyway to turn off the "cap"?
Hello, Ray,
Thank you for your question.
For us to be able to help you better, please send us your workbook at support@ablebits.com
We'll do our best to help.
Hi-
How do I get my graph to look like yours? (i.e. give it the 3d feel). I have a graph with two axis and would like to know how you give your "purple and orange" graph the texture that looks alomst 3d.
The older versions of Excel allowed you to color a line in a graph with a pattern instead of just straight colors. The Gradient Line in Excel 2010 only has preset colors and patterns (and none of the ones I've used in the past!), and does not allow you to customize it with patterns.
Is there a way to do this in Excel 2010?
When am trying to add secondary axis, The series Opetion is greyed and not allowing to amend from Primary to Secondary . Am using MS 2010
Hi,
When I create an xy chart in Excel I start by selecting a header row followed by N data values in 2 or more columns. Why does Excel always ignore the name found in the X header? Is there anyway that Excel will make use of this value? I would like to display it as the title or as the name of the axis when I use the chart as a template. I am well aware I can type in a cell reference to it, but this time consuming when I create alot fof charts. I can't believe the geniuses at Microsoft never thought of this use case which anyone who wants to make a lot of xy charts will want to do.
BTW, I know I can solve the problem using VBA, but why ignore the X axis header?
Thanks,
Sam
I'm trying to find out if any version of excel supports the ability to use an image as a continuous fill within a chart. Currently I'm able to fill bars using a library image, but it reproduces the image in each bar. What I'm trying to do is effectively make the bars a transparent overlay of an image that would appear to sit behind them (but not otherwise appearing in the background which I'd have as a different texture/colour). I can do it by exporting a graph to a graphics package and editing there but wonder if there's a quick way to reproduce the effect within Excel.
Hi!
How can I change the lines of an Excel chart 2010.? I am trying to use the pattern fill for lines but I cant.I can do it only for shapes and columes. Please help me!I have found an excel chart of previous version with lines with patterns style (dots black and white)but I cant do it at version 2010!
Thanks
How do I create a line graph with two values on the same data point? For example, if I have a line graph showing the growth of an investment increasing at 5% a year, but want the value to drop 28% at the end of each year to reflect taxes paid, how do I get the line to drop vertically to the reduced value?
Hi,
Is it possible in Excel 2010 to change a Excel chart from a picture to a working graph?
Here is the example: I was sent an Excel spreadsheet and the was sent as a picture, can I change it back to a working Excel sheet; where I can manipulate the data and change it for my task?
Hi Marcus,
Thanks for your question. Unfortunately there is no way to fullfill this task. We wish we could help you better.
Ablebits Support Team
My basic problem is that I don't want a gap or a zero. I want the merge cell to appear as one cell for data.
Suzanne, could you please send an e-mail to support@ablebits.com with an Excel file that shows how your data look, we'll do our best to assist you!
I am Creating a simple bar graph and can not figure out how to get rid of the blank areas between the data on the x-axis. The data is being pulled from a cell which has been merged so I am assuming that it is spacing for the second cell in the merge. Any ideas?
Hi Does anyone know how to change (actually reduce) the distance of the axes and the text associated with the axes? I'm using office X for Mac. The distance seems fixed to 0.3 cm in my graphs. No possibility to modify this number. Thanks for the tip.
Nick, please try to do the following:
Right-click on x-axis -> Format Axis -> Alignment
and change the value of "Offset"
I am sorry I do not know any other way.
Very good and informative post