David-
I'd love to see this in action if you end up going that route!
Good call on the examples. The documentation is definitely thin, and not entirely accurate. A lot had changed internally with the application in the last couple days that I haven't yet documented, including most of the really cool features, like custom layouts and such. The next couple evenings will be devoted to getting the docs up-to-date.
I hadn't even considered the possibility of using Scruffy for sparklines -- but that's a very interesting idea. Resizing at raster time was thrown in there because it seemed to produce slightly more readable text than directly rasterizing SVG at smaller sizes. But something like sparklines wouldn't use text anyway, so you probably don't want resizing going on. I'll make that an option you can specify when desired, it probably should have been optional all along.
I do want to provide a way to access those attributes easily, but honestly I haven't thought of a really great way of providing that yet. Every graph type could have multiple SVG elements, each with their own stroke and fill styles, for example. I just haven't come up with a good conceptual way of allowing for that yet, and in the (temporary) absence of a great solution, I haven't wanted to add a mediocre one. As you use it, think about how you'd want to access that information during the graph-building process and let me know.
Too kind! There are definitely some fun things I wish to do with this library in the future, especially as SVG becomes more accepted and useable over time (hopefully!). For example, floating around the Nagilum lab is a functional prototype of a Scruffy SVG graph that can be continually updated in real-time via Juggernaut with values generated from model observers. There are definitely some interesting possible applications for something like that. Great feedback, thanks so much! -Brasten |
_______________________________________________ PDXRuby mailing list [email protected] IRC: #pdx.rb on irc.freenode.net http://lists.pdxruby.org/mailman/listinfo/pdxruby
