
eric at infrae
Oct 31, 2006, 9:35 AM
Post #1 of 1
(655 views)
Permalink
|
|
ZSparklines, a simple sparklines product for Zope
|
|
I'm pleased to announce ZSparklines, a simple Zope product to add sparklines to any Zope application. You can find version 0.1 here: http://www.infrae.com/products/zsparklines ZSparklines is basically Joe Gregorio's spark cgi script (1.0.0), where the cgi layer was replaced with a Zope layer, so it can be used as a zope product. It defines two simple views, sparkline_smooth and sparkline_discrete, and an interface, ISparklinedata, which you need to implement in your classes to use the sparkline views on them. If you want to use sparklines for classes you have no control over, you can write an adapter to implement the interface. Any feedback, questions and suggestions for improvement are more than welcome. ZSparklines requires the Python Imaging Library. The original cgi version can be found here: http://bitworking.org/projects/sparklines/ -- - eric casteleijn http://infrae.com _______________________________________________ Zope-Announce maillist - Zope-Announce [at] zope http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
|