Blogger Recap: Gantt Charts in Notes Views

Updated: As Theo points out in the comments to this post, he has improved on his technique a
Chris Blatnick started it with his very clever view column trick for displaying rudimentary gantt charts in Notes views. Chris' approach involved the use of color columns, and no image resources.
Theo Heselmans then followed up with an alternate approach using 10 different image resources (for 10%, 20%, etc.). Theo's approach doesn't allow for the *exact* percentage to display as text *inside* the colored bar as Chris' does, but he can embed text in the actual graphic, as you can see in the thrid example below. His image resource technique can also be enhanced slightly to do something Chris's apprach can't. But more on that in a moment.
Vitor Pereira then picks up the thought and shows a technique that also uses image resources, but instead of 10 different ones, requires only one and repeats the image based on the corresponding percentage number. If nothing else, Vitor's technique highlights a little known capability of view icon columns. Namely, that you can specify a list of values in the column and make multiple images appear in a SINGLE column. Amazing, but...
Unfortunately, the multiple-image-in-a-single-column technique is rendered all but useless because when you mouseover the image(s), up pops a LIST of values for all icons, not just the one your mouse happens to actually be pointing to.
Even if you rename the image resources to something human-friendly like "Person", "ACL", and "Documents" in the above example, your mouseover would still be highly confusing to users.
To see some ways to improve on these techniques, click "Read More".
So my humble contribution to the enlightened discussion of this topic is simply a take off on Theo's multi-image technique. I would suggest renaming the images from "Bar0.gif", "Bar8.gif", etc. to "0%", "0-10%", "70-80%", so that you at least get meaningful mouseovers (if a little imprecise). I suppose you *could* create ~100 images for each of the percentage numbers, and get better precision, although I would be reluctant to pursue such a "brute force" approach.
Looking at these various approaches to the same problem, I think Chris has come up with a real winner of a technique, the advantages of which are:
- No dependencies on other design elements - highly portable
The only downside I can see to Chris' color column approach is that if you do employ the inline percentage text, then the "50%" bar is the same length as the "40%" bar, which could be misleading for those doing an "at a glance" assessment of progress. It might be worth experimenting with putting the first two digits in one column (right justified), and the "%" (or "0%" in the 100% case) in the next column (left justified). That way the text could "straddle" the color change. This would make the column sizing a bit less forgiving, but not too much so.
Then again, if you don't care about the inline percentage text thing and just want the most attractive 3D/gradient/shaded bars you can find, Theo's technique will fit the bill very nicely, assuming you include some variation of my image resource naming suggestion.
Comments
I'm sure there are some more solutions out there I would certainly like to hear about.
Posted by Vitor Pereira At 05:10:54 AM On 07/11/2007 | - Website - |
Posted by Theo Heselmans At 01:16:03 AM On 07/11/2007 | - Website - |
Posted by Jerry Carter At 12:20:27 AM On 07/12/2007 | - Website - |