a flexible bar chart widget similar to YUI bar chart