Sub-select the series on the chart (e.g. by left clicking on a data point). Go to Properties and click Text to see the text-related properties of the series. Click the plus sign button under Labels. Show
A Data Label Settings item is added. Click this to edit its properties. Click Data Label SettingsIn the Data Label Settings, set the Placement to Inside and enter the name of the measure in square brackets in the Text property. This is a placeholder which will be replaced with the actual measure value at each data point. Set the Placement and Text propertiesMeasure values are now displayed within each bar. 3. Inside alignment toward startData point labels displayed within the bars of a chart can be aligned towards the start of each bar (e.g. towards the zero or minimum value). This applies to bar, area, and range charts, including stacked and curved types. In the Data Label Settings properties, set the Inside Alignment to Toward Start. Toward Start inside alignmentThis will also work when the bars are horizontal (i.e. inverted axes). Go to the dashboard designer toolbar and click Horizontal Bars to see this. I often use this trick when I create line series charts for which I have formulas in the data table and I don’t want to show future periods. I can avoid crashing lines when I use the NA() function.The free Chart Alignment Add-in for Excel allows you to quickly align the objects within a chart. The chart titles, labels, and legends can be moved using the arrow keys on the keyboard or with the alignment buttons in the add-in window. The free Chart Alignment Add-in for Excel allows you to quickly align the objects within a chart. The chart titles, labels, and legends can be moved using the arrow keys on the keyboard or with the alignment buttons in the add-in window. VideoDownload the Add-in File The ProblemWhen chart objects/elements (titles, labels, legends) are added to a chart they are positioned in a default location. For example, the chart title is centered over the top of the chart by default. If you want to put the title in the top left corner of the chart, it can only be moved by left-clicking and holding with the mouse, then dragging and dropping to the desired location. There is no built-in way to move the chart title with the arrow keys, or align it to other positions within the chart (top-left corner for example). The entire chart can be moved with the arrow keys, but the elements inside the chart cannot. *Note: Starting in Excel 2013 the chart objects (titles, labels, legends, etc.) are referred to as chart elements, so I will refer to them as elements throughout this article. The SolutionThe Chart Alignment Add-in is a free tool (download below) that allows you to align the chart elements using the arrow keys on the keyboard or alignment buttons on the add-in window. This makes it very easy to quickly nudge and align the chart objects in your chart to improve the look of the chart from the default settings. Feature #1: Arrow Keys The arrow keys on the keyboard can be used to nudge any of the chart elements in any direction. There is an increment setting that allows you to move the chart element a specific number of points each time an arrow key is pressed. Any of the chart elements (chart titles, axis titles, data labels, plot area, and legend) can me moved using the arrow keys. Feature #2: Alignment Buttons The add-in window contains a set of alignment buttons that align the chart elements to the border of the chart when pressed. For example, if you want to align the chart title to the top left corner of the chart, simply select the chart title then press the top-left arrow button on the add-in window. The margin setting allows you to set the margin to a specific number of points that will offset the chart element from the chart border. Please see the video for more details. Why Move the Chart Titles and Labels?The goal of any chart is to clearly communicate a story about your data. The reader should be able to understand the message you are trying to convey within a few seconds of looking at the chart. There is a lot of great information about this topic and I will post some links at the bottom for further reading. The default settings for Excel charts don't always apply to some of these theories of reducing chart junk and keeping it simple. This requires you to modify the chart layout, especially the chart elements. The Chart Alignment add-in helps make this process faster and gives your charts a more standardized and professional look. For example, every single chart you produce in the future can have a chart title that is offset 5 points from the top-left corner of the chart border. This will save you time and take out some of the guess work with arranging the elements. GuideThe add-in is compatible with Excel 2007, 2010, and 2013 for Windows. After you have installed the add-in, the Align Objects button will appear on the right side of the Format tab in the Chart Tools design tab of the ribbon. This is a contextual tab and will only appear when you have a chart selected. Clicking on the Align Objects button will open the add-in window. The window contains two main features: Move Objects with Arrow Keys and Alignment Buttons. Feature #1: Move Objects with Arrow Keys To move the elements inside the chart with the arrow keys:
Note: The add-in window must be active for the arrow keys to work. When you select a different element in the chart, you must then click on the add-in window to activate it, then use the arrow keys. When all the data labels in a series are selected you can use the arrow keys to move all the labels at the same time. Please see the video for further details on this. The Increment amount allows you to set a specific number of points to move the element with the arrow key is pressed. The greater the number, the more distance the element will move when the arrow key is pressed. The “Move Selected Object with Arrow Keys” must be toggled off to change the increment. Feature #2: Alignment Buttons The alignment buttons move the selected chart element to a specific location along the charts inner border. To use the alignment buttons:
The Margin amount allows you to set an amount to offset the element from the border. Note: In Excel 2007 the center alignment buttons do not place the element in the exact center of the chart. This is a limitation of the 2007 VBA object model, and I'm working on an alternate solution. DownloadPlease click the link below and the add-in file will be sent to you immediately. Chart Alignment Add-in.zipCompatible with Excel 2007, 2010, 2013 for Windows. The zip file contains the add-in file (EC_Chart_Alignment.xlam) and installation guide (Installing an Excel Add-in.pdf) Update Instructions: If you have already installed the add-in and want to install an updated version:
Please leave a comment below with any questions, issues, and ideas for improvement. This add-in will be updated with feature requests. Please subscribe to the free email newsletter to stay updated. Update LogVersion 1.1
Additional Resources30 Chants for Better Excel Charts – Mynda Tracey at MyOnlineTrainingHub shares 30 great tips for creating better charts to help communicate your story effectively. 9 Steps to Simpler Chart Formatting and Charting Dos and Don'ts – Jon Peltier at Peltier Tech is the absolute legend when it comes to Excel charts. If you have a question about creating a chart, he probably has an article that answers it. 5 simple rules for making awesome column charts – Chandoo at Chandoo.org explains how to improve your column charts and has lots of other great articles on chart formatting. quick tip: left uppermost align title text – This is a great short article from Cole Nussbaumer at Storytelling with Data that explains why your chart titles should be aligned in the top left corner of the chart. Definitely an inspiration for this add-in. Also checkout the blogs and writings of Edward Tufte and Stephen Few for some great theory about communicating your data. Training Course – If you are looking for a full length training course on charts, I highly recommend the dashboard course from My Online Training Hub. I have taken this course and it really helped me improve my charting skills. Checkout my video review of the course to learn more about it. Have you read a great article about charts recently? Share the link in the comments section below. Previous Best Keyboards for Excel Keyboard Shortcuts Next Excel Keyboard Shortcuts for the Menu Key (Right-click Context Menu) – Convert Text to Numbers – Ignore Errors You may also like
The 2022 Holiday Gift Guide for Excel LoversThe Excel Campus Wheel of Fortune5 Bad Charts and AlternativesJon Peltier says: January 29, 2014 at 10:25 am Pretty cool! First time through it looks solid. BTW, chart elements have been referred to as such since at least Excel 5. Reply
Mynda says: January 29, 2014 at 3:44 pm Love it. Thanks Jon. I could have done with this yesterday while wrangling some uncooperative labels into place. Can’t wait to share it with my Dashboard course students. Reply
Greg Harisiades says: January 30, 2014 at 7:11 am Jon, I find myself using PivotCharts quite a bit. Does this work with that flavor of charts? Reply
Jeff Weir says: February 1, 2014 at 1:32 am Looks good. What would be even handier is if you could move multiple things…whether or not they are the same kind of object (e.g. data labels and chart title). But if you select a data label by clicking on it once, then the addin will tell you either give a run-time error “Invalid Parameter” or will say “Data Labels cannot be moved with these buttons”, depending on whether “Move selected object with arrow keys” is toggled or not. Reply
Jon Peltier says: February 3, 2014 at 7:06 pm “…the labels might not make sense…” One of the hardest parts of UI design is making something that’s perfectly clear to yourself also clear to the user. Reply zengkui guo says: February 22, 2014 at 12:56 pm Hi Jon, I remember your pic posted on EC. so nice that I do not have remember your name. Remembering pic is much easier. Reply
The Advanced Chart Utility Is Here - Peltier Tech Blog says: June 12, 2014 at 3:36 am […] I played with Jon Acampora’s tool to Move and Align Chart Titles, Labels, Legends with the Arrow Keys, I dusted off and finished my own arrow key positioning device and added a resizing function. […] Reply Amanda says: June 23, 2014 at 7:34 pm Fans from China. Everytime I make a graph, I need to adjust all the elements to the left side one by one, and make them alighn, thanks for the tool, u just totally release my hands. Reply
zhang John says: August 3, 2014 at 8:04 pm Thanks Jon from China. Thanks a lot. Reply Alexandra says: October 23, 2014 at 9:33 pm Hi Jon, The add-in looks great. Could be even better if it was able to move groups of data labels to the sides of the bars. May be I just do not know of such a possibility. If you do, please share your knowledge. Reply
Paul says: January 5, 2015 at 12:36 am Happy New Year and Many thanks, Jon. The additional function is great, MS should really consider adding them to their native platform. I am wondering if it is possible to make your code open-source, so the function can be amended by programmers everywhere. Personally I would love to study your code and make them available on PowerPoint as well. Bests, Reply
RG says: February 20, 2015 at 3:09 pm Thanks so much for making this add-in available! The snazzy add-in just saved me HOURS of time moving data labels on charts. Thanks! Reply
Taylor says: February 27, 2015 at 1:07 pm Hi I was wondering is the an add on like this one for Word or does this one somehow work for word charts as well or does the charts have to be created in Excel? Reply
Tolga Kurban says: March 20, 2015 at 12:13 am Love it !! Thanks Jon. Your add-in Works only in excel, is it really hard to make it work in PowerPoint ? I need it too much in PowerPoint. Reply
ZKG says: May 14, 2015 at 1:00 pm Hi Jon, Reply
Excel 2013 Graphs automatically aligning data labels to end of bar says: August 6, 2015 at 7:14 am […] be upgrading eventually. Looks like another significant learning curve. One thing I've found is this free add in that assists the manual […] Reply Dave says: August 7, 2015 at 5:51 am Very helpful for single elements, but I seem to be having a specific problem with it. I want to ‘nudge’ a series of labels appearing at the end of horizontal bars (in the ‘outside end’ position) up or down slightly to create more space between them. However, as soon as I select all of the labels and press any direction key, they all jump to the same horizontal position, ignoring their previous position at the outside end of the bars. Therefore any time saved in positioning them vertically is lost again in having to move them back horizontally. Another issue (and it may be a common one with add-ins, I’m not sure) is that I can’t seem to undo any change I make. Reply
Jim says: August 7, 2015 at 8:31 am Hi Reply
jason says: August 27, 2015 at 6:55 am Hi Jon, I can use the arrow keys to change the position of the legend, but i have multiple legend entries within one legend. I can not seem to move an individual legend entry, only all the legend entries within the main legend. Reply
K.L. says: August 31, 2015 at 5:56 pm Hi Jon, Thanks very much for the add-in. Best, Reply
Murali says: September 9, 2015 at 10:07 am Hi Jon, Thanks for this useful tool. Thanks Reply
Jake says: November 11, 2015 at 5:57 pm Excellent plugin — comes in very handy! Is it compatible with Excel 2016? Thought I would make sure before updating. Thanks! Reply
Hassan says: January 10, 2016 at 8:06 am Hi there Reply
Brian says: February 3, 2016 at 12:35 pm Looks absolutely fabulous, Jon. I use Excel for Mac 2011 Version 14.3.9 (131030). Would your download work on my machine? If not, do you know of a similar utility that I could use? Many thanks. Reply
Michael says: June 16, 2016 at 8:46 am Hi Jon, Reply Alan says: September 8, 2016 at 7:09 am Hi Jon, Reply
Monica says: October 4, 2016 at 2:48 am Hi Jon I’ve installed the add-in according to your instructions, but it’s not showing up. What am I doing wrong? Using Excel 2010 on Windows 7. Thanks Reply
han says: June 29, 2017 at 7:34 pm Hi Jon, Can this be used in PowerPoint as well? Reply
Jack says: July 30, 2017 at 5:22 am Hi Jon, Reply
Deep says: October 17, 2017 at 10:31 pm Hi Jon, Can you please make this add-in available to Powerpoint as well. I’ve seen quite a few users requesting for the same. It would be great if you can help with that. Thanks! Reply MF says: November 17, 2017 at 6:52 am Hi, I tried to download this addin-in but got 405 Not Allowed error. anyone has same issue? Reply
Clint says: November 22, 2017 at 5:14 pm Hi thanks for this but i have an error during download it says 405 can you please re-upload it to other hosting files or send me an email of this add-inn Thanks, Reply
Rhae711 says: March 4, 2018 at 11:55 am Hi! I noticed that these tools were written for Windows. Do you have any tools that are compatible with a Mac? Thank you. Reply steroidi naturali says: July 5, 2018 at 9:56 am It’s going to be ending of mine day, except before finish Reply Eric Young says: August 7, 2018 at 10:45 am Hi Jon, I’ve upgraded to Office 2016 (365) — is there any plan to make this compatible with the latest version of Excel? Reply Rachel says: September 6, 2018 at 1:07 pm Created bar chart to show percentages; however, would also like to add text within each bar to list the numerator/denominator. I created a text box within the bars and added the info; however, the issue is that all the text boxes shift when a new month is added to the chart. Is there a way to “anchor” the text box or is there a better way to display the numerator/denominator? Thank you Reply JAM says: October 13, 2018 at 1:10 pm Very helful tool. Thanks! Reply Mudassir Ahmed says: April 6, 2019 at 1:33 pm Hello, Reply Mike says: July 26, 2021 at 8:00 am I am not receiving the email. I used two different ones, but never received the document. Is the file still automatically sent out? How do you move all data labels at once in a chart?Move data labels. Click any data label once to select all of them, or double-click a specific data label you want to move.. Right-click the selection >Chart Elements. ... . If you decide the labels make your chart look too cluttered, you can remove any or all of them by clicking the data labels and then pressing Delete.. How do I format multiple data labels in Excel?To format data labels, select your chart, and then in the Chart Design tab, click Add Chart Element > Data Labels > More Data Label Options. Click Label Options and under Label Contains, pick the options you want. To make data labels easier to read, you can move them inside the data points or even outside of the chart.
How do you apply value data labels to all bars in the chart excel?Add data labels
Click the chart, and then click the Chart Design tab. Click Add Chart Element and select Data Labels, and then select a location for the data label option. Note: The options will differ depending on your chart type. If you want to show your data label inside a text bubble shape, click Data Callout.
|