History for ZGDChartWiki
??changed:- Welcome Zope 2.7 Required for ZGDChart 0.6.5 If you are using Zope 2.6 or older, use ZGDChart 0.6.4 The binaries for 0.6.5 have been compiled against Python 2.2 Building the gdchart module The RedHat GD binaries work fine with !SuSE Linux (6.4/7.0). You don't have to compile your own ones ... If you are having trouble building gdchart module on your platform, have a look at the survival guide. I've had a few reports of build difficulties. I only have access to a Win9x box, so I can't tell you what's wrong with Linux or Solaris builds. I can only suggest that the makefiles have been doctored to get all the libraries working on my system. Hung Jung Lu had very kindly provided the Linux binaries for your convenience. The prebuilt libraries (libgd.a, libjpeg.a etc) are useless if you are not building on Win9x systems. You'd have to delete them and rebuild them again. If you succeed in building the module for your platform, post it here for the benefit of everybody. Thanks! Solaris Binaries (up to Zope 2.3) Marcus Bursik took the time to contribute the Solaris binaries "http://www.zope.org/Members/teyc/ZGDChart/gdchart.so":gdchart.so *Included in 0.5b* Linux Binaries (Zope 2.4) Chris Withers provided the Linux binaries for *Zope 2.4* "gdchart.so":http://www.zope.org/Members/teyc/ZGDChart/linux/gdchart.so (302 kb) Chris reports The grid lines were very close for dense data that it grays out the background. A quite simple method to receive bigger fonts and not so narrow lines: 1. I set the original size of zgdchart as small as possible, e.g. width 250 and height 90 pixels 2. I size the target place in the dtml-document 400 respectively 290 pixels. How-to change output image format "Renato De Giovanni":mailto:[email protected] provided this short how to: 1. download "gdchart-py-0.5.tar.gz" from http://athani.pair.com/msteed/software/gdchart/ 2. untar, unzip and compile the library (by default gif and jpeg creation are already enabled) 3. copy "gdchart.so" to your ZGDChart directory. 4. Edit ZGDChart.py and add the following line on the end of "_setOption" method: eval("option(format=GDC_JPEG)") note 1 format codes are: GDC_PNG, GDC_GIF and GDC_JPEG (default is png). note 2 I used gnu/linux. - RecentChanges This is a ZWiki web. See the ZWikiLinks and the HelpPage for more information about ZWiki. From mdupont Tue Jan 13 08:32:00 US/Eastern 2004 From: mdupont Date: 2004/01/13 08:32 EST Subject: ZGDChart broken? Message-ID: <[email protected]> I've been trying to install ZGDCarts into a clean plone installation, without luck. I copied the directory structure to the products dir, and after restarting plone, the product IS listed in the products folder, but the examples report it broken, and it doesn't appear in th add item drop list. Any hints? Mariano From mdupont Tue Jan 13 12:00:00 US/Eastern 2004 From: mdupont Date: 2004/01/13 12:00 EST Subject: ZGDChart broken? Message-ID: <[email protected]> In-reply-to: <[email protected]> This is what the log tells: 2004-01-13T12:06:21 PROBLEM(100) ZODB Could not import class 'ZGDChart' from module 'Products.ZGDChart.ZGDChart' From mdupont Wed Jan 14 08:45:00 US/Eastern 2004 From: mdupont Date: 2004/01/14 08:45 EST Subject: Problem Solved Message-ID: <[email protected]> Version 0.6.5 is for Zope 2.7, while for Zope 2.6.x, version 0.6.4 must be used. From d2m Fri Apr 15 10:56:00 US/Eastern 2005 From: d2m Date: 2005/04/15 10:56 EST Subject: Message-ID: <[email protected]> "svogel":http://www.zope.org/Members/svogel/ just posted a "windows binary":http://www.zope.org/Members/svogel/gdchart/file_view he built on windows with python 2.3 and Zope 2.7.2.