On 6/5/06, Jeff Pritchard <jp / jeffpritchard.com> wrote: > Thanks Kate, > You make a good point. Right now I'm working towards a SimpleGraphs > v0.001 that satisfies my needs for the app that brought it into being. > Perhaps 0.002 will include horizontal graphs as well. > > Still hoping for info on error reporting in an 'erb' library. > > best, > jp > > > kate rhodes wrote: > > On 6/2/06, Jeff Pritchard <jp / jeffpritchard.com> wrote: > >> > >> I'm finding it a bit surprising that anybody is interested in horizontal > >> bar graphs. I've always found them a bit off-putting. Like I'm > >> supposed to lay my head on the table while I look at them. Will it be > >> unforgivably incomplete without support for horizontal bars? > > > > Simple example of why horizontal graphs are important: > > Imaging you have 100+ records each of which gets a bar. > > With a vertical bar graph you run off the side of page (even without > > labels). How are you supposed to do it with a label on each bar? > > Horizontal graph allows you to put label + bar on one line, and while > > the full graph may scroll off bottom of page people don't mind because > > we're used to things going below the fold. Horizontal graphs also > > allow you to have more words in the label of each bar because they > > don't affect the length of the graph. > > > > > > - kate = masukomi > > > -- > Posted via http://www.ruby-forum.com/. > > Just throw an exception on errors -- let the user/framework deal with exceptions. They should only be generated on "true" errors. Personally, I would let questionable data through, ignoring it -- this often simplifies graphing where some of the data can be rough. pth