PTS Blog

Main menu:

PTS Utilities

Commercial Utilities developed by Peltier Technical Services

Waterfall Chart
Box and Whiskers


 

Excel Books

Books that I own and use while developing in Excel

Goods and Services

Excel or charting related products and services which I use or feel are worthwhile additions

Subscribe

Subscribe

Site search


Recent Posts

Recently Commented

Popular Posts

Archive


 

Categories


 

Creative Commons License
Licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

Changes to Charting in Excel 2007

by Jon Peltier
Peltier Technical Services, Inc., Copyright © 2008.
Licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

As part of the development of Excel 2007, Microsoft completely rebuilt the Excel charting engine. During overall development of the Office 2007 user interface, all of the charting dialogs were redesigned, and many features were added to the Chart Tools contextual tabs of the Ribbon. Office 2007 has been out now for well over a year, and I’ve been using it in some capacity since the beta kicked off over a year before its commercial release. I’ve decided it’s about time I gave a coherent review, rather than post bits and pieces in various forums. I hope that after this much time has gone by, my comments will be seen as the well-thought analysis I’ve tried to make it, and not a knee-jerk Luddite reflex.

Perhaps this assessment will help converts to Excel 2007 who are having difficulty with the changed charting environment, and hopefully any criticisms and suggestions will be taken to heart by developers of future releases of Excel. There is also a companion post reviewing general changes between Classic Excel and Excel 2007.

Creating Charts

The first thing that one notices when creating a chart is that the Chart Wizard is missing. Many people found the wizard confusing at first, but charting itself is a large feature, and the Chart Wizard was a relatively elegant way to put a lot of options into an orderly process. The Chart Options dialog, which was step 3 of the Wizard as well as a stand-alone dialog in its own right, is also gone. The lack of the Wizard and Chart Options means that many features are accomplished differently than before. This is not necessarily bad, as long as the features are still readily available and easy to use. For example, the selection of charts is available from the Insert tab of th Ribbon.

Chart Formatting

The second thing one notices is that Microsoft has modernized the default formats of Excel 2007’s charts.

Excel 2003 Column Chart Excel 2003 Line Chart
Excel 2003 Default Chart Formats

Excel 2007 Column Chart Excel 2007 Line Chart
Excel 2007 Default Chart Formats

The new defaults look much better, without the murky gray plot area background and the dull blue and pink series colors.

Speaking of formatting, most of the upgrade to the charting engine for Excel 2007 is a vast expansion in the formatting ability of the various chart elements. Text can be formatted as WordArt, and elements have many options for fancy formatting, including gradients, transparency, edge effects, shadows, glows, and more. For the most part this amounts to eye candy, because these formatting features do not add to the actual portrayal of the data in the chart. Of what use are bevel and surface texture effects if your chart has 4-pixel wide markers? I suspect that the slow performance in redrawing of Excel 2007 charts is partially due to an overworked graphics rendering engine having to check whether to apply so many more possible formats in charts with dozens of series and thousands of points.

Ironically, a popular formatting option since Excel 95 or earlier (and from much earlier programs on the Mac) has been removed from Excel 2007. One can no longer apply patterned fills to chart elements through the extensive user interface. Fortunately the capability remains in Excel 2007 VBA, and my clever colleague Andy Pope has written an Excel 2007 Pattern Fill add-in which allows the user to apply these fills to chart elements and shapes.

Patterned Fills
Pattern Fills: Lost, then Found

Chart Types

Many people looked expectantly at Excel 2007 to provide new chart types. Box Plots perhaps, or Waterfall Charts. But these expectations were met with disappointment. Excel 2007 includes the same roster of standard charts as Excel 2003. Fortunately the workarounds that many advanced users have developed to build custom charts are functional in Excel 2007.

Users will notice that the “built-in custom” (love that oxymoron) chart types from Excel 2003 are no longer available. This is not a great loss, as most of these types were either regular charts with different formatting, or simple combination charts. An intermediate user should be able to create combination charts readily in any version of Excel, so the built-in custom combos are not necessary. They were helpful, in that they showed the novice users that combinations were possible, although many users thought the only combination types available were those in the built-in custom dialog.

Excel 2007 has introduced a new technique for saving user-defined chart styles. Excel 2003’s system involved the user gallery, a hidden worksheet that contained samples of saved charts; this system was difficult to maintain (but then, I’m tough on my systems), and it was nearly impossible to distribute one’s custom types. Excel 2007’s system consists of individual chart template files saved in a templates directory. I have not tested this new system extensively, but it seems robust, and sharing custom types is as easy as exchanging files.

Chart Dialogs

A lot of people complain about the Office 2007 Ribbon, and claim it makes them slower than in Excel 2003. This point is partly valid: while charting, for example, there are three separate tabs for editing the chart, and the user often needs an extra click simply to activate the tab with the desired controls. As frustrating as that may be, it’s only a small irritation. What bothers me more than the Ribbon is the redesigned Excel 2007 charting dialogs. There are a number of problems with these dialogs that degrade their usability. I will not bring up every problem, but I will use a few examples to show the loss of usability.

Multiplicity of Tabs

In many cases while formatting an Excel 2007 chart, one has to click from one tab to another to accomplish what required only a single tab in Excel 2003. To illustrate, let’s look at the Format Series dialogs from the two Excels, 2003 on the left and 2007 on the right.

Excel 2003 Format Series Dialog Excel 2007 Format Series Dialog

To format a line or XY series in Excel 2003, all the controls needed are found on one tab of the dialog. To do the same in Excel 2007, one must visit up to four Marker tabs and two Line tabs. I understand this was necessary to accommodate all of the new formatting options included in Excel 2007. But, such details: line gradients and line styles for the border of a marker? A marker that’s most likely no wider than 5 points?

I’d like the option to pop up a Chart Dialog Lite, that gives me a simple set of applicable and appropriate formatting tools: line color and thickness, line style for the connecting lines but not for the marker border, and marker shape, size, and fill color, without gradient fills or any edge, surface, or lighting effects. Put a button on the side that brings up the full-features form. This would allow me to make effective charts, and format their series as quickly as before.

Choice of Controls

In many cases, the new dialogs use controls which are not as efficient to use as their older counterparts. I’ll use the Format Axis dialogs from Excel 200 (left) and 2007 (right) to illustrate this problem.

Excel 2003 Format Axis Dialog Excel 2007 Format Axis Dialog

The Excel 2007 dialog combines axis scale formatting with axis tick formatting, which is pretty nice. However, the choice of dropdowns for the axis tick controls is far inferior to the Excel 2003 layout, which uses option buttons. Here are these sections of the dialog in closer detail:

Excel 2003 Format Axis Tick Options Excel 2007 Format Axis Tick Options

One uses option buttons, or alternately a listbox, in order to show all options to the user. One selects a dropdown in contrast to save space on a crowded dialog. My interface design philosophy is to show all options to the user. I’ve been creating Excel charts for twelve or more years, I’m intimately familiar with these dialogs, and I still like to see all options before I select one. In fact, Microsoft issued a best practices white paper for Vista programmers (wish I could find the link), which urged designers always to use option buttons or listboxes rather than dropdowns, for this very reason. Using the dropdowns has certainly used less space than the option buttons, but this dialog has room for the option buttons. The problem with a dropdown is that one has to move the mouse and click on the control to expand it and see the options. This takes a mouse click, and the expanded control covers one or two controls below it. Then to select an option, the user has to drag the mouse and release it, or click again. Two clicks or a click and drag, instead of one click, times dozens of charts a day. And I find that if the options are hidden in the unexpanded dropdown controls, I tend to click back and forth as I mull my options.

Tortuous User-Dialog Interactions

Many of the easy interactions which we took for granted in Excel 2003 have been replaced by inflexible awkward interactions in 2007. I will illustrate this issue with the axis scale formatting dialogs in Excel 2003 (left) and 2007 (right).

Excel 2003 Format Axis Dialog Excel 2007 Format Axis Dialog

The Excel 2007 dialog above right shows an improvement to Excel’s logarithmic scale axes. In Excel 2003, a logarithmic axis could only use base 10 logs, and the axis min and max scale parameters had to be powers of ten, and tick labels would only appear at intermediate powers of ten. For example, an axis scale could span between 0.01 and 100, and have tick mark labels at 0.01, 0.1, 1.0, 10, and 100. Excel 2007 allows the user to select the base of the log scale, and the min and max of the axis need not be powers of that base. The labeling is still inflexible, spaced from the minimum scale by powers of the base.

In Excel 2003, people were confused by the Auto checkbox. Even though Auto generally means let the program do what it wants, people would set their desired values, then check the Auto box. When Excel ignored their entries, they would wonder why. Excel 2007 solved this problem by replacing the Auto checkbox with Auto and Fixed option buttons. The rest of this sub-dialog undoes that improvement. Here are closeups of the scale formatting sections of the dialogs:

Excel 2003 Format Axis Tick Options Excel 2007 Format Axis Tick Options

In Excel 2003, the entry boxes are always enabled, even when the Auto boxes are checked. The user needs only one click, in the entry box, to change the value. Clicking on the Auto checkbox or its label moves focus to the entry box and selects the contents of the entry box, making it so quick and easy for the user to make adjustments. When the user changes a value, the Auto checkbox is cleared automatically.

In Excel 2007, an entry box is disabled until the Fixed option button is clicked. Clicking the option button does not move focus to the entry box, the user still has to click in the box for this. And because the click on the option button does not select the contents of the entry box, the user needs a click and drag or a double click, not just a simple click, to select the entire contents of the entry box.

As I mentioned at the outset, the Excel 2003 dialogs were elegant in their usefulness, and the redesigned dialogs ignore usability best practices.

Range Selection

The way ranges are selected in some dialogs has been changed. Let’s look at the Format Error Bars dialogs.

Excel 2003 Format Axis Dialog Excel 2007 Format Axis Dialog

The controls for selecting custom error bar values in Excel 2003 are right on the same dialog. The equivalent controls for Excel 2007 are not located on the form, although there is room for them. Instead the user must click on the Specify Value button, which pops up a small form with the range selection controls.

The selection boxes are rather narrow, so it’s particularly difficult to read the reference. in addition, this small dialog is modal, so the larger dialog is locked in place while this dialog is present. If your desired range was obscured by the larger dialog, you have to close this small range selector, move th larger dialog, and call the range selection dialog back.

Options Removed from Dialogs

Several favorite items have been removed from the dialogs. Let’s revisit the Format Series dialogs from above.

Excel 2003 Format Series Dialog Excel 2007 Format Series Dialog

Error Bars and Data Labels can be added and edited from the Format Series dialog in Excel 2003, but not in 2007. The Options tab contains other goodies, depending on chart type: High-Low Lines, Up-Down Bars, Drop Lines, Series Lines. These features are all available on the Excel 2007 Ribbon, but not in the dialogs. We may get used to this change, but not having these items available on the formatting dialog disrupts previously smooth thought patterns.

Dialog Behavior

There are two aspects of dialog behavior that have changed for the worse in Excel 2007. The first of these is a minor inconvenience, but still annoying. Since the first time I’ve used a mouse (remember MacDraw on the old Mac Plus?), I’ve been trained by dozens of applications to point at an object, then double click, and a dialog would appear to help me format that object. For some inscrutable reason, all of office 2007 has lost this double-click-to-format behavior. Users frequently ask whether they need to reinstall Excel 2007, because the double click isn’t working right. I always agree that it isn’t working right, but that’s by design.

The more egregious change at first seems like a good idea. The formatting dialogs have become non-modal, so that you can interact with the objects under the dialogs while they remain open. This appears to make the dialogs more flexible, but the consequences are brutal. Let me explain.

In Excel 2003 you can format an object, say, a chart axis. You can visit every tab of the formatting dialog, then dismiss the dialog, select another object of the same type, another chart’s axis in this example, then press the F4 function key, and repeat all of the formatting that was accomplished during the previous visit to the formatting dialog. One click of the F4 key repeated dozens of actions. Alternatively, pressing Ctrl-Z would undo everything that was done during the visit to the dialog.

In 2007, with the non-modal dialogs, items are added to the undo/repeat queue one action at a time, not one dialog visit at a time. To undo a series of items from one dialog visit, you need to press Ctrl-Z many times. But the killer is that the F4 key (or Ctrl-Y) only repeats the absolute last action taken in the dialog. One click of the F4 key now repeats one action. One of a user’s most powerful productivity tools, the F4-Repeat Last Action command, has been eviscerated.

Summary

This analysis has been written after over two and a half years of working with Excel 2007, starting with the last Excel 12 alpha version, through four betas, the ultimate release version, and SP1. It is a hard thought, critical assessment of charting in my favorite charting platform, and how charting has changed with the introduction of Excel 2007.

Charting in Microsoft Excel has undergone a complete restructuring in Excel 2007. Most of the changes are cosmetic, confined to formatting of the charts, and the default Excel charts look much nicer than in earlier versions. There is a lot of eye candy, that is, fancy effects that others may (and do) call chart junk. While no new chart types were introduced in Excel 2007, the techniques developed to simulate unsupported chart types are still functional in Excel 2007.

The Office 2007 Ribbon has received a great deal of criticism for dumbing down the interface and making it less efficient for use by power users. I have found the inefficiencies of the Ribbon to be minor, dwarfed by major inefficiencies in chart formatting dialogs introduced by disregard of best usability practices. Because of these deficiencies, I find myself often struggling to create charts in Excel 2007 which in Excel 2003 would practically draw themselves. I write this review partly in the hope that the points I’ve raised will help guide development of an improved charting experience in future versions of Excel.

Possibly Related Posts:

Bookmark and share this entry:
  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • TwitThis
  • StumbleUpon
  • Google
  • Reddit
  • MySpace

Comments

I welcome comments from my readers. If you have an opinion on this post, if you have a question or if there is anything to add, I want to hear from you. Whether you agree or disagree, please join the discussion.

Read the PTS Blog Comment Policy.


Comment from Zach
Time: Wednesday, May 7, 2008, 10:19 am

Jon,

I consider myself very good with computers in general, and pretty good with Excel as well. Perhaps it’s because I don’t spend TOO much time charting, but I’ve always found the interface for charting in Excel 2003 very confusing. I was never able to figure out the logic for why many options were placed in their respective locations, and therefore find myself checking a few places when looking for an option. I haven’t made the switch to 2007 yet, but I’m hoping there’s a more logical organization scheme.


Comment from Jon Peltier
Time: Wednesday, May 7, 2008, 10:31 am

Zach -

The organization of the charting features in Excel 2003 isn’t completely logical, but it seemed easy to find what I needed. I may have placed certain things in different locations, but mostly I would have left it alone. The Excel 2007 interface seems to have taken so much away from the dialogs and placed it onto the Ribbon, which makes them seem further removed from the chart.

I’m in the process of designing a charting interface for Excel 2000 through 2007 with custom menu/toolbar or Ribbon elements, as well as dialogs of my own design, based about 60% on Classic Excel, 20% on Excel 2007, and 20% on my own personal wish list and usability observations. It’s a nights and weekends project, so it won’t be available next week, but hopefully over the summer.


Comment from John Dawson
Time: Wednesday, May 7, 2008, 11:33 am

One point that I think you missed was that it is now more difficult to interact with chart data. In “old” Excel, you could pick up and drag chart objects to change inputs in a “what if” spreadsheet. I know at least three businesses who used this technique and are now cursing not being able to do the same.

I also find 2007 laborious when constructing charts. Yes they ultimately look better but maybe just a simple colour pallet change was all that was needed.


Comment from Jon Peltier
Time: Wednesday, May 7, 2008, 12:07 pm

Hi John -

Microsoft was surprised to see how many people used the Goal Seek (point dragging) feature, and I must admit, so was I. Many people miss this.

Another feature that was removed was the ability to size a chart sheet to fit the window. Without this feature, macros that are based on the user’s mouse motions NO LONGER WORK on chart sheets in Excel 2007. In addition, the ability to let a chart adjust to fit any user’s screen regardless of aspect ratio or resolution was very nice.

For colors in charts, you could check out an earlier blog post:
Using Colors in Excel Charts
This is more helpful for Excel 2003 and earlier, of course.

And of course there are more differences in Excel 2007’s charting (like the changes needed to add custom error bars using VBA without crashing). I suppose if people comment with their experiences, we can compile a list of differences that may help out other users.


Comment from Tony Rose
Time: Wednesday, May 7, 2008, 1:09 pm

Some of this feedback seems to be easily fixed with Excel 2007 (but I’m no MS programmer). You would think that a quick release or service pack would do the trick. Maybe they just haven’t gotten enough feedback. Or, it could be that they are well into the development of Office 14…


Comment from Jon Peltier
Time: Wednesday, May 7, 2008, 1:20 pm

Tony -

To me, many of these issues seem minor, and seemed minor when I first reported them during beta testing. There were two things working against changing these issues. First, any change made to a program the size of Excel has to be carefully tested, because you never know what kind of dependencies you may be altering by an apparently simple change. For me to design a VBA utility that sits on top of Excel and provides custom dialogs is a minor undertaking compared to changing a few dialogs which are integral to the application. I have already designed some of the dialogs, by hte way.

Second, and I am making a statement about things I have no direct knowledge of, I suspect MS did not have time to complete a more finished version of the UI (the dialogs etc.) within the time that Office 2007 was scheduled to ship. I do not expect any changes to items I’ve mentioned here to be implemented to any service release of Office 2007. I am hoping MS will give these issues some attention in their design of Office 14.


Comment from Tony Rose
Time: Wednesday, May 7, 2008, 2:43 pm

I just wish they would do a little bit more work and due dilligence with industry experts on the new office versions (planning and not just beta testing) instead of trying to churn out a new one every 3 years.

I wonder why the adoption rate is for Office 2007? I know many companies are still using 2003. Maybe a lot of people are holding out for Office 14.

Perhaps you just can’t please everyone and 95% is good enough…


Comment from Jon Peltier
Time: Wednesday, May 7, 2008, 2:51 pm

At first, the adoption of 2007 was pretty slow. I expected this version to be another forgotten version, like 2002. But lately it seems to be moving along. While I still have a few clients on Excel 2000 and 2002, most are on 2003 and 2007. The thing is, new computers now come bundled with Vista and 2007, so that’s what people use. Even if they preferred the previous versions, they don’t have the licenses or the installation media to allow the older versions on their newer machines.

A client called me up two weeks ago and ranted for a half hour because he didn’t like his first taste of Excel 2007. He said on a whim he went out and bought it, thinking it would solve all the problems with his earlier installation, Excel 2000. He opened it up, couldn’t find anything, and was angered that such a widely used and familiar interface would have been tossed aside just like that.


Comment from Tim
Time: Wednesday, May 7, 2008, 5:11 pm

Jon,

Nice post, and I can’t disagree with your points. I second John Dawson’s point about the Goal Seek feature. I used that quite often to get data exactly right for class presentations.

The two things that bug me the most about the new charting engine are that it is slow, and that I can’t seem to use defined names in the Series function like I used to. Some defined names seem to work, while others fail. For example, I can’t get it to accept a name that uses a dynamic range with the Offset function. Any ideas about that?


Comment from Jon Peltier
Time: Wednesday, May 7, 2008, 5:27 pm

Tim -

Defined names work pretty much as before in charts, with one notable exception. If the name begins with “chart”, it fails. There are a couple other glitches with names in charts, too. But I’ve used plenty of dynamic names in Excel 2007 charts.

I think that Excel 2007 is more strict about proper referencing of names than 2003 was; I don’t know for sure, because I’m usually compulsive about referencing things like that.


Comment from Tim
Time: Thursday, May 8, 2008, 1:04 am

Jon,

Well, that fixes that! I was, as I commonly did in the past, using the name ChartData. I guess I should never use obvious names. :-)

Thanks.


Comment from Colin Banfield
Time: Thursday, May 8, 2008, 11:24 am

Jon, another superb post. A few comments:

I find it amazing that, despite all of the usability testing, Microsoft has made some stuff more onerous than they need to be.

When I opened the Excel 12 beta for the first time and looked at the charting feature, the immediate problem I had was with the nomenclature on the contextual chart tabs. On the Design tab, there’s a group called Chart Layouts. Next to the Design tab, there’s a tab called Layout. Huh??? I pointed out this naming confusion to Dave Gainer during the Excel 12 beta but I don’t recall his response. The fact that I can’t remember suggests that I wasn’t convinced by his answer.

I think that getting rid of pattern fills was a good idea. They add an enormous amount visual clutter to bars and columns. If you’re printing in black and white, then using different shades of gray is a far better option. Honestly, I think Excel MVPs should be make bettering use of their time other than regurgitating an outdated concept (Tusher’s Rader Chart add-in is another example of time that could be have been better spent on something more useful). In contrast, you’re done a far better job with truly useful chart add-ins, such as the box and whisker plot and the dot-plot add-ins. Getting back to patterns, you would also recall the discussion on the Excel blog here: http://blogs.msdn.com/excel/archive/2007/11/16/chart-pattern-fills.aspx

The multiplicity of tabs is a real usability drawback. There’s also some unintuitive naming. For example, “Series Options.” Aren’t markers and lines series options? Better would be to name the tab “General Options”. Then “Line Options” would consolidate all line formatting in one dialog and “Marker Options” would consolidate all marker formatting in one dialog. The same logic would apply to other chart object dialog boxes.

The lack of setting focus in the “Fixed” text boxes in Axis Options after you click the option button is an obvious oversight which should have been fixed in SP1. The old Auto setting check box was confusing for users so the change is otherwise welcome. However, the “Auto” problem still exists in in the PivotTable Group dialog box. Why wasn’t a similar change made there??? I’ve never understood the naming convention of “high” and “low” as applied to a vertical axis location. I was hoping that these names would change to something more meaninful in Excel 2007.

One major advantage of the Ribbon that’s often overlooked is the galleries. This is certainly a concept that doesn’t fit the old menu and toolbar paradigm. In theory, the “results oriented approach” of choosing a finished “product” and modifying the “product” (if necessary) to get exactly what you want as opposed from starting from scratch is a great idea, especially for the time constrained user. However, the results oriented design approach doesn’t work well for constructing charts in Excel 2007. This is so because the gallery options are based mostly on arbitrary choices rather than data visualization principles. Stephen Few wrote an article on choosing thoughtful defaults in charts. There isn’t a single gallery option that embraces his suggestions. As a matter of disclosure, all of my charts are formatted from scratch.

On the positive side, there some bright spots. The color options are much better with the use of thoughtful hues rather than the ugly fully saturated hues of the past. And the theme colors are complementary. Using the new drawing engine allows charts to be as small as a cell – great for creating sparklines. Also, it’s easy to align and group multiple charts – great for dashboards.


Comment from Jon Peltier
Time: Thursday, May 8, 2008, 11:51 am

Colin - Thanks for your thoughtful comments.

I would have reduced tab counts on the dialog by combining like tabs. All four marker tabs would be combined, and I’d use buttons to pop up child dialogs for special features. Ditto for lines. Putting everything onto separate tabs is just plain poor usability.

I didn’t talk about the galleries, probably because I never use them. I probably looked at them a few times, then moved away from them. I do almost all formatting from scratch, which makes the loss of F4 functionality a true handicap.

If it were up to me, I’d tear apart the existing chart contextual tabs and put the useful stuff onto the first tab (”Charts”), and maybe some of the other stuff on the second (”Chart Misc.”). I’d also add things back to dialogs.

I realized last night that the modeless dialogs may be to blame not only for the loss of F4, but also for the removal of range selection controls to separate modal child dialogs. Is the modelessness of these dialogs worth losing so much functionality and usability? I vote no.

Re the cell sized charts: I have another half-finished sparkline tool that uses regular Excel charts, and the only thing I need to do for Classic Excel is to make the chart object overhang the cell boundaries a few pixels, so the plot area can be as large as the underlying cell. Once I stepped out of the ChartArea=CellSize box, it was easy. Aligning and grouing charts has never been an issue. Hold ALT while dragging and resizing to make the chart snap to cell boundaries. Consistent sizing of the interior plot area is no better in 2007 than before.


Comment from Colin Banfield
Time: Thursday, May 8, 2008, 1:03 pm

Jon, agreed.


Comment from Colin Banfield
Time: Thursday, May 8, 2008, 1:08 pm

Forgot to ask in my previous entry, have you tried this free utility?

http://www.spreadsheetml.com/products.html


Comment from Jon Peltier
Time: Thursday, May 8, 2008, 1:37 pm

Colin - Thanks, something else to try in my free time.


Comment from Tim
Time: Friday, May 9, 2008, 1:52 am

I was reminded by the discussion of the “Fixed” text boxes that one feature I have always wanted was the ability to set the min and max scale for the axes with a cell reference. This seems to me that it would be a no-brainer and simple to add, but it never has been added. I’m sure I could probably do this with VBA, but it would be easier if it was built in. This would make zooming and panning in charts very easy.


Comment from Jon Peltier
Time: Friday, May 9, 2008, 7:11 am

Tim -

Good point. That’s a feature that’s been often requested, but they didn’t get it into Excel 2007. You can in fact do this with VBA: I outline the process on my main site in Link Chart Axis Scale Parameters to Values in Cells, and Tushar Mehta has constructed an add-in, the Chart Manager, that does this automatically.

Another cell linkage we’d like to see: links of a series to a set of labels in cells. There are add-ins that do this for you, notably Rob Bovey’s Chart Labeler and John Walkenbach’s Chart Tools, but these link individual labels to individual cells, so if the series endpoints change, the labels are linked to the wrong points, and new points on the end don’t have labels.

And how about the linkage of custom error bar values to cells? It works pretty well, I guess, but it’s only partially visible in VBA: you can assign a range to the error bar values, but you can’t read which range is already assigned. It’s a write-only property.


Comment from Colin Banfield
Time: Sunday, May 11, 2008, 5:33 pm

It comes down to this: Make every entry box in the chart dialogs a RefEdit control. As currently implemented, the control choices that Excel uses for setting values (some text boxes, some RefEdit controls) are pretty varied and arbitrary.


Comment from Jon Peltier
Time: Monday, May 12, 2008, 7:23 am

Colin - That would be nice. There’s a lot of infrastructure that would need to be added to the chart model to make this work. I’d gladly trade all the shadows and gradient fills for this, but it’s not my choice.


Pingback from DSA Insights » Blog Archive » DSA Insights Post Project - Submission List
Time: Monday, May 12, 2008, 5:17 pm

[...] Changes to Charting in Excel 2007 by Jon Peltier at Peltier Technical Services [...]


Comment from Jon Peltier
Time: Monday, May 12, 2008, 5:55 pm

I could have talked about the Select Data Source dialog in 2007, and I may in a future post. There are some improvements, such as combining the Data Range and Series tabs from 2003 into a single view, and including a link to hidden and empty cells, which used to be accessed through the Tools > Options menu. But the ranges for the X and Y values of the series are not visible in the main Select Data Source dialog; one must click on an Edit button, and view these on a child dialog.

And the thing that’s bugging me right now is that although there is a nice Switch Row/Column button, so you can redraw the chart with respect to the opposite data alignment in the sheet, there is no indication whether the current data is plotted by row or by column. So I have to waste a trip to the Edit Series child dialog before I can confidently make use of the Switch button.


Pingback from DSA Insights » Blog Archive » DSA Insights Post Project Winners
Time: Monday, May 19, 2008, 2:02 am

[...] wrote the post: Changes to Charting in Excel 2007.  Congratulations to Jon!  He has selected an autographed copy of James Taylor and Neil [...]


Comment from Sanford
Time: Friday, May 23, 2008, 6:28 pm

Is it possible to assign different numerical values to a portion of the Y axis in an Excel chart? I have a scale range from 20 to 65 with intervals of 1.5. But because of the distribution of the data, I want the intervals from 20 to 25 in .5 intervals.


Comment from Jon Peltier
Time: Friday, May 30, 2008, 6:43 am

Sanford -

It’s not a built-in feature of Excel, but it’s possible to hack your way through it. I have a tutorial on my site (with links to other similar techniques):

Broken Y Axis


Comment from Daniel Dare
Time: Tuesday, June 10, 2008, 12:06 am

I use a widescreen display, and the inability to choose “scale chart to fit window” is a real loss.

It means you always have wasted space at left and right of your screen in chart sheets. Also, now I find every time I open a file, the charts are different sizes to what it was before.

I’ve dragged a button onto my Quick Access toolbar to at least allow me to “Zoom to Selection” with a single click, but that still leaves a space at left and right. And I still have to click every time I open a chartsheet - Some of my files have dozens of chartsheets. I guess I will automate this with a macro eventually.


Comment from Daniel Dare
Time: Tuesday, June 10, 2008, 4:34 pm

OK I’ve found a partial work-around for the widescreen chart problem:

Charts which are intended only for onscreen use can be set up to use a “Legal” paper size. That is 21.59cm by 35.56cm or an aspect ratio of 1.647:1 - That fits much better on the widescreen display.

“Tabloid” isn’t bad either at 1.545:1
“A4″, “A3″ etc are only 1.414:1 - hence the unused space at left and right.


Comment from Jon Peltier
Time: Tuesday, June 10, 2008, 4:38 pm

Daniel - That’s clever, and fixes part of the problem with an unsizable to window chart sheet. However, the reason I need the chart sheet to size to window is so I can use mouse events (up, down, and move) in the chart. These are unworkable in a chart sheet that isn’t sized to the window.


Pingback from Changes to Charting in Excel 2007 - Learn Excel
Time: Monday, June 23, 2008, 10:22 pm

[...] Original post by Jon Peltier [...]


Pingback from Microsoft, Pimp Down My Ribbon | More Information per Pixel
Time: Tuesday, July 29, 2008, 5:59 am

[...] Jorge yesterday concluded that Excel 2007 is Useless and Jon wrote a comprehensive analysis about Changes to Charting in Excel 2007 where he expressed his concerns regarding the new Charting. In 2006 Stephen Few reviewed Excel 2007 [...]


Pingback from Excel 2007 Usability Pain Points | More Information per Pixel
Time: Friday, August 29, 2008, 4:29 am

[...] Thanks for visiting!There has been a lot of criticism regarding the Excel 2007 UI, particularly about the new chart engine and the Ribbon. Here some other Pain Points that are particularly painful for Excel dashboard [...]


Comment from Yohay
Time: Wednesday, September 24, 2008, 7:38 pm

Hi there,

Any chance someone knows how to make the axes start at the point (0,0) rather then at the right end of the x-axis? (I’m talking about the simplest scatter plot, just need both axes to start at (0,0)).

Many thanx & best wishes,
Yohay.


Comment from Jon Peltier
Time: Thursday, September 25, 2008, 12:43 am

Yohay -

Right click on one axis, choose Format XXX, change the “Axis Crosses At” setting to zero. Repeat for the other axis.


Comment from Ken Stern
Time: Wednesday, November 12, 2008, 11:04 am

Error bars are giving me a headache - any ideas here?

I have a series of graphs making up a dashboard, and on each one I want to add a single line across (to show which months the actual performance exceeds the service level, or something like that). Normally I’d just add a second series consisting of one point (the service level), plot it as XY-scatter on the secondary axis which is pegged to the scale of the primary, remove the marker and give it an X error bar and play with the custom values so it stretches across the width of the graph.

This works fine in Excel 2003, but in 2007 the error bar length appears to bear no resemblance to the values I enter. I entered 10, and it got a little longer. 15, shorter. 20, a tiny bit longer. 1000, no change. I finally opened it in Excel 2003 and put in the error bars, which worked fine, and then re-opened in 2007 where they’re variable again. Argh! Any remaining hair I have will thank you for your help. (Sorry if this is not a good forum for this.)


Comment from Jon Peltier
Time: Wednesday, November 12, 2008, 11:43 am

A. If you experience misbehavior with Excel 2007 charts, install Service Pack 1. It does not fix all of the issues, but it helps with many of them.

B. Microsoft has made it much, much harder to use error bars in Excel 2007. The buttons on the Chart Tools > Layout tab are not at all useful, and it’s not clear how to get what you want unless you’ve fought with it a number of times.

Here is the protocol I’ve used most recently:

1. Select the series you want to add error bars to.
2. Click the Error Bars button on Chart Tools > Layout tab > Analysis group.
3. Click More Error Bars Options at the bottom. This adds vertical error bars (and horizontal for an XY series) and opens the Format Error Bars dialog.
4. If you selected an XY series, it seems impossible to get to the Horizontal Error Bars dialog, but it’s not impossible, just convoluted. You can reach around the dialog and select the horizontal error bars, and the dialog will change to Horizontal Error Bars.
5. Set the values you want, the same as in 2003, although there’s some goofy behavior when adding custom error bar values.
6. If you only want horizontal error bars, select the vertical error bars and press Delete.

The goofy custom error bar value behavior includes:
1. The Format dialog stays where it is, and a new dialog pops up for you te enter/select a range. If the Format dialog is in the way, you cannot move it. I don’t know why they didn’t put these selection boxes on the main dialog as in 2003, or why they didn’t temporarily hide the format dialog when this child dialog pops up. Anyway, you have to cancel the small dialog, move the big one, and try again.

2. If you only specify one value, and clear the other value, the one value you enter is forgotten, and both values retain their original settings. Why it won’t accept a blank to indicate no error bar is a mystery. If you enter 0, it is converted to ={0} and you get an error bar of zero length. That means, if the error bars have the little end cap (the “T” at the end), the zero length error bar leaves an end cap on the data point.

3. If you set the values programmatically, you cannot rely on optional arguments for the values being optional. If you set a positive custom error bar, you need to specify a zero value for the corresponding negative error bar. Most VBA works as well in 2007 as it did in 2003, but this is one command I spent hours trying to make work. Silly me, I assumed “optional” meant you didn’t need to include it.

Write a comment





Subscribe without commenting

Create Excel dashboards quickly with Plug-N-Play reports.