Welcome to MSDN Blogs Sign in | Join | Help

Some Words About Charting

Over the past few months, when I have posted information about charting in Office 2007, there has been plenty of feedback and discussion about the work presented.  Today, I wanted to spend a bit of time addressing some of that feedback.

When I read over the feedback, especially the feedback that resulted from the survey post last week, it seems to fall into three categories:

  1. Why did you not add (insert your most important chart feature here) in Office 2007?
  2. There is too much of an emphasis on “eye candy” in the features that you did add to Charting in Office 2007.
  3. The styles that you have shown us are not “professional”.

Here are a few thoughts on each of those items that will, hopefully, at least help everyone understand how we ended up where we are.

Why did you not add (insert your most important chart feature here) in Office 2007?

We are very aware that there is customer demand for new features in charting – new chart types, better integration with Word & PowerPoint, more control over the layout of charts, more capabilities within charts, better visuals (e.g.  anti aliasing, color schemes), better PivotCharts/a more “interactive” experience, conditional formatting, support for bigger data sets, and so on.  Over time, our goal is to deliver a great many of those features while maintaining decent backwards compatibility with the hundreds of millions of charts that our customers have created over the last 20 years.  That said, the work required to deliver all those features and maintain backwards compatibility is much bigger than would ever fit in any single release of Office, so we need to sequence the work over a period of time. 

So how will sequencing work?  This release, we made a number of architectural changes so that we would have a solid foundation on which to build the next several releases of charting features.  Specifically, we significantly updated the charting engine and hooked into a cross-Office “rendering” platform (that’s fancy talk for “code that draws the shapes and text that makes up charts”).  This is the work that allowed us to make charts native objects in Word and PowerPoint, just like they are in Excel.  This is also the work that gave us better looking drawing of charts (anti aliasing, better text, and the other visual effects).  Because all the other features we hope to add to charts will be built on top of this foundation, we needed to get the foundation completed before we could start adding other features.  Along the way this release, we also redesigned the UI to accommodate the new ribbon and dialog architecture, which was part of a broad cross-Office initiative.

The key point here is that we are aware there is a broad set of features customers want us to add to Office, and we hope to add them over time.  At some future point, I hope to figure out a way to solicit the opinions of the thousands of people that read this blog on which charting features we should focus on next.

There is too much of an emphasis on “eye candy” in the features that you did add to Charting in Office 2007.

This is related to the discussion above.  Charts in Office 2007 are built using a shared Office drawing layer.  We used this shared drawing layer so that charts could be native objects in any application, which is a long-standing customer request, and also because the shared drawing layer allowed us to draw very good-looking charts (meaning things like anti-aliased lines), which is another long-standing customer request.  Because the shared layer is used for more than just charts – it is also used for drawing objects, Word Art, effects in PowerPoint, etc. – the layer has plenty of modern visual capabilities which the chart engine then inherits for free, essentially.  Because these capabilities exist, we have exposed them to some extent in the chart UI.  While we understand not everyone is interested in effects like gradients and shadows, that is not universally true – for example, customers often request modern graphic effects in charts in PowerPoint. 

The key point here is that the “eye candy” available in charts is part of the platform that we built charts upon, so it is not like we had to “trade off” other charting features to implement these effects – they are simply part of the platform.  Additionally, while some of these visual effects may not be something in great demand in Excel, they are something that has appeal in other Office applications.  Finally, we have been careful to try and provide a balance between styles that apply these effects and simple, straightforward styles that do not … and in most cases, the defaults are the simple, straightforward styles.

The styles that you have shown us are not “professional” (or how you can help us make Office 2007 charts better)

Chart styles are part of a larger initiative across Office 2007.  We have many customers who spend significant time trying to create good-looking documents.  Our intent with Office 2007 is to make it easier to create good-looking documents.  This means providing a way to create charts, tables, diagrams, shapes, and other document components with a consistent look and feel.  Each document has a theme which defines a coordinated set of styles for each document component.  For charts, we have tried to create a wide breadth of styles to cover the broad variety of business needs in Excel, PowerPoint, and Word.  We have tried to optimize these styles for charts; e.g. emphasizing the data, while balancing a consistent look with the other document components such as tables and diagrams.  For example, axes, tick marks, and gridlines have been subdued to allow the data in the plot area to stand out more.

OK, so that is our intent.   We certainly heard some feedback last week (in blog comments and the survey which many of you did fill out thanks very much) that the styles you saw were not what you would consider “professional”, or that there were things you would like to see changed.  (To be fair, neither the survey nor the images in this blog have presented a holistic view of all the styles available – for some reason, I think we tended to show the fancier more effects-laden styles, so our mistake.)  That is great feedback, and we would like to understand more.

To that end, I would like to invite the folks that posted comments last week as well as other blog readers to provide us some examples of what you think a “professional” chart looks like.  While this could take a number of forms, given that a picture can be worth a thousand words, one thing that would be great is to see XL files that contain sample “professional” charts – this could be either something from the current versions of Excel or from the Excel 2007 beta.  Those of you with the beta, we would also be happy to hear specific changes you would like to see to the chart styles in the beta build.  You can send all files and comments to xlfiles@microsoft.com.  We will take what we get in the next week or so and try and factor the feedback into the final set of styles. 

Thanks in advance to all that take the time to help us out.

Published Friday, June 02, 2006 3:13 PM by David Gainer
Filed under:

Comments

# re: Some Words About Charting

Saturday, June 03, 2006 1:09 AM by Harlan Grove
Examples of professional charts.

Got a subscription to the Economist? I think the following are public.

http://www.economist.com/markets/indicators/displaystory.cfm?story_id=7008530

Note the ability to use different colors for some gridlines. Yes, that affect could be achieved by plotting another series with constant y values, but that's nonobvious.

http://www.economist.com/markets/indicators/displaystory.cfm?story_id=7008484


The following requires a subscription.

http://www.economist.com/world/europe/displaystory.cfm?story_id=E1_GRDNVSP

The double half donut, ideal for comparing before and after percentage distributions.


The common characteristic of these plots is clarity and COMPLETE LACK OF THEME, unless, of course, simplicity is a theme.

You're never going to sell those of us who believe data speaks for itself as long as it isn't drowned out by eyewash. That there's ever greater demand for 'great looking charts' is just testimony that there are ever fewer people who understand numbers or how to present them.

# The Economist

Saturday, June 03, 2006 3:33 AM by Biff
"The common characteristic of these plots is clarity and COMPLETE LACK OF THEME, unless, of course, simplicity is a theme." -- Harlan Grove

The "lack of theme" is a theme. I read "The Economist" for many years and belive me they have a very distinctive theme for their charts. I am quite certain that you can create a less flashy and more "theeconomistesque" theme using Excel 2007 charting. Perhaps David would care to demonstrate this to us.

# re: Some Words About Charting

Saturday, June 03, 2006 7:59 AM by Mike

If Excel 2007 has all the plumbing to draw arbitrary chart types, where is the API to do just that?

# re: Some Words About Charting

Saturday, June 03, 2006 8:10 AM by Mike

Let me rephrase my question. Since Excel 97 and the inclusion of MSO, it has always been possible to draw arbitrary chart types somehow, after all a chart is a worksheet. It was awkward with the Excel UI, but it was and still is possible. But, if you can make some arbitrary vector shapes for instance attached and drawn in the client area of a chart, this does not make it more bound to the data coming from series. So, to move forward, this requires a public exposure of the binding  between the data source and the drawn elements. All of which I suspect will revolve around some XML description. The question is, how much of this is getting exposed in Excel 2007? The .xlsx file format (ECMA) does not seem to expose more than an XMLified MSO (or E2O).

# re: Some Words About Charting

Saturday, June 03, 2006 10:34 PM by Biff
Biff, nice name!

Just for the record, this Biff has never read The Economist.

# re: Some Words About Charting

Saturday, June 03, 2006 10:56 PM by Hui...
David

Why have you pastel'ised' all the colours ?
The Blue up to Excel 2003 was a bright blue
Blue is now a washed out Blue

They don't look the same on screen or print.

If I want pastels I will go and buy Fisher Price !

Hui...

# Enhanced Charting

Sunday, June 04, 2006 8:35 AM by Asher Barak
Maybe a bit too late but add it to the TODO list:
I would very much like the ability to draw a graph based on a hirrarchy represented in a table (the way you would have your data ready for drill down pivot work) and attache each lef/node and each juction a numeric value from the data (Think of the budget of a big organistation scetched on the stractural chart)

# re: Some Words About Charting

Sunday, June 04, 2006 11:47 PM by Harlan Grove
Can't add to the options article's responses anymore, so why not here.

I had the chance to test out XL12 on a friend's PC.

Application.DisplayStatusBar doesn't do anything anymore. There seems to be no way to eliminate the status bar except by using full-screen mode.

Custom toolbars seem to appear in an Add-In tab in the ribbon on the far right. Within that tab, toolbars take up the top 1/3 of the ribbon's height, leaving the other 2/3 empty. Also, there doesn't seem to be any means of moving such toolbars, e.g., to the left, right or bottom of the application window.

So unless one wants to get rid of the entire UI via full-screen mode, the only UI configuration option short of editing XML files is whether the QAT appears above or below the ribbon.

And with regard to Options, specifically the Advanced tab in the Editing section, who thought

Double-click allows editing directly in the cell

was in any sense more descriptive than XL11's

Edit directly in cell

? This particular setting also affects what happens when users press [F2], so it's not just double-click.

Then there's the ribbon's Data tab. In the Get External Data section, when you click on From Text, the dialog box only shows Text Files (*.txt) and All Files (*.*), and it means it about *only* showing *.txt files. XL11 puts all the file types in a single dialog run from the menu command Data > Import External Data > Import Data, and its entry for Text Files includes *.txt, *.prn, *.csv, *.tab and *.asc. Is this a bug or intentional? And From Other Sources doesn't list all the sources that were available in XL11, e.g., Lotus 123 files, dBase files (while dBase is dead, doesn't Microsoft's own FoxPro write .dbf files?), or using Query, i.e., .dqy and .rqy files. Is Get External Data a not-ready-for-prime-time feature in beta 2?

# re: Some Words About Charting

Monday, June 05, 2006 3:18 PM by Harlan Grove
More bugs.

During setup, Clip Art Organizer was explicitly not installed. Now in Excel, selecting the Insert tab in the ribbon causes Excel to display an error dialog with the following text.

Microsoft Office Excel can't display Clip Art.
This feature is not available. To make this feature available, please run Setup again, select "Add or Remove Features" and change the feature to "Run from My Computer" or "Run from CD/network".

And with the Insert tab still selected, moving the cell pointer around the worksheet causes this dialog to keep appearing. Inserting a table, something that presumably doesn't involve Clip Art, also causes this error dialog to appear. It seems that anything that triggers an event causes this dialog to appear while the Insert tab is selected.

From my perspective, this is either a bug in Excel or a bug in Setup. If the @#$% Clip Art Organizer is NECESSARY for any selected Office app to run, it shouldn't be an option not to install it.

# re: Some Words About Charting

Monday, June 05, 2006 5:03 PM by A User
For some clear examples of how "eye candy" can turn good data into a misleading graph, see this book:

How To Lie With Statistics, by Darrell Huff, W. W. Norton & Company, January 1954 (reissue)

Yes it is still in print, so is the Bible. Yes the mid-century "eye candy" is dated, but the allure of "professional appearance" is just as dangerous with contemporary styles.

# re: Some Words About Charting

Tuesday, June 06, 2006 1:45 AM by David Gainer
Thanks for the comments folks, and to those of you that emailed in files.

Mike, we have the idea on our list, but we did not get there this version.

Hui, you can create your own colour schemes with a few clicks and have whatever look you want throughout the application.  See http://blogs.msdn.com/excel/archive/2006/03/24/560596.aspx for details.

Asher, have you taken a look at Visio?

Harlan, try Statusbar display:   Application.CommandBars("Status Bar").Visible = True/False.   Not sure of the rationale – I will follow up with the UI team.  Good point about “From Text” … we will get that fixed.  With respect to “other sources”, try looking under the “Existing Connections button – from there, “Browse For More …” gives you the 2003 experience.  I agree with you about clip art … I will ask the setup folks to take a look at clip art.

A User, there is a good chance the chart team has a copy in their library, but I will pass your suggestion along to make sure.

# re: Some Words About Charting

Tuesday, June 06, 2006 7:14 AM by Jon Peltier
"Harlan, try Statusbar display:   Application.CommandBars("Status Bar").Visible = True/False"

Isn't this great? We can't use command bars effectively anymore, but when they get into trouble with the status bar, they turn it into a command bar to squeak out of it.

This will break a great many existing solutions....

Jon Peltier, Microsoft Excel MVP
http://PeltierTech.com

# re: Some Words About Charting

Tuesday, June 06, 2006 9:09 AM by Harlan Grove
Jon Peltier,

You expected backwards compatibility?

When will we get the deprecated features/altered features document? Will Microsoft provide any sort of VBA conversion doc like it did way back with XL8 when they produced the VBA equivalents for Lotus 123 macros? Now we need the Excel OM equivalents for the Excel OM.

# re: Some Words About Charting

Tuesday, June 06, 2006 9:30 AM by Harlan Grove
The status bar as command bar statement works, but why don't the pair

Application.CommandBars("The Ribbon").Visible = False
Application.CommandBars("Worksheet Menu Bar").Visible = True

?

Which command bars are more equal than the others?

# re: Some Words About Charting

Tuesday, June 06, 2006 11:29 AM by Harlan Grove
Following not necessarily a bug, but a difference from previous versions that should be clarified. Posted in the microsoft.public.excel newsgroup.

http://groups.google.com/group/microsoft.public.excel/msg/db31ff7a20ead890

Basically, does XL12 force all intermediate calculations to 64-bit double precision? That'd be an awkward change from previous versions that seem to leave intermediate calculations in the FPU registers.
New Comments to this post are disabled
 
Page view tracker