Scruffy is alive and kicking...
September 06, 2006 @ 03:49 PMIt’s been a little while since I’ve said anything about Scruffy or rolled out a release. Like all of you, I have bills to pay, so I’ve been squeezing in Scruffy time around client’s projects. I was hoping to release the next version of Scruffy a few days ago, but it looks like it will be next week sometime before that happens.
In the meantime, let me tell you about some of the things you can expect in Scruffy 0.3.0.
Pie Charts! I’ve been promising these for a while, and they will be here. A.J. has done some fantastic work on these, and I’m really excited to get this functionality in your hands and see what you people do with it. The extra time has allowed A.J. to add in some really amazing capabilities.
For a demonstration, check out Ms. Scruffy. Ms. Scruffy was made entirely with pie charts, using some very simple options (offsets and pie-slice exploding, etc). Ms. Scruffy does not actually convey any useful information.
Customization API! While A.J. has been working on pie charts, my entire focus has been on building a really nice user-facing API—something Scruffy is weak at right now. Everything from legend location and orientation, x-axis and y-axis labels and locations, and many other options will be easily setable.
Additionally, graph layouts will shift to best accommodate your options. If you hide the legend, the graph will expand to fill that space. This stuff should be really cool!
Some other cool stuff! A lot of this is changing from day to day, so I’m just going to show some actual code I’m working on right now.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
# Rails View Helpers <%= scruffy :performance_graph, @agent %> # A graph is just a representation of data. def user @user = User.find params[:id] respond_to do |wants| wants.html wants.xml wants.graph # renders user.rgraph end end |
Soon….