ZSparklines

Download packages

ZSparklines 0.1

ZSparklines is basically Joe Gregorio’s excellent spark.py 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 just write an adapter to implement the interface.

You can download ZSparklines here:

http://www.infrae.com/download/zsparklines

ZSparklines requires the Python Imaging Library.

The original cgi version is here:

http://bitworking.org/projects/sparklines/

OSI Certification Mark Public domain: no rights reserved
Public Domain

Scroll to top of page To table of contents for the site: acc-m Search the site: acc-f To site index: acc-i Find content in the site: acc-f No link