Looking under the hood? Interested in a job? Send a mail....

ZSparklines Product Released

Publication date: 2.November.2006, 12:57

1 november 2006 – Infrae is pleased to announce ZSparklines, a simple Zope product to add sparklines to any Zope application. You can find version 0.1 here:

https://infrae.com/products/zsparklines

What is 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.

Credits

Many thanks to the people at the Erasmus University Library for making this product possible.

The original cgi version can be found here: http://bitworking.org/projects/sparklines/

ZSparklines requires the Python Imaging Library.

Contact

FMI contact Eric Casteleijn, eric at infrae com, +31 10 243 7051.