GraPHPiteOpen Source PHP OO Graph Rendering Utility
PEAR Package of GraPHPite version 0.3.0dev1 released (2004-27-10 10:00)
Since GraPHPite was accepted into PEAR work has been done to merge the existing PEAR package for graph creation (Image_Graph) and GraPHPite into a new package with the name Image_Graph. This work has finally resulted in a new version of Image_Graph/GraPHPite: version 0.3.0dev1. This means that GraPHPite's days as a standalone package are now gone and we are now a 'real' member of the PEAR communite - giving us high-quality PHP packages.

This also means that GraPHPite as it is presently enters a maintenance-only mode, meaning that version 1.2 is the last release of GraPHPite (as it is today) and bugs will be fixed in this version for some time on. The reason for not making a clean cut and say 'all development is on Image_Graph' is due to a lot of changes in the API making the existing users not be backwards compatible. This change in API was done in cooperation with the lead of the 'old' Image_Graph package, and was done to make things better, more consistent, easier to use and with better performance.

I hope everyone (eventually) switches to the new package once it matures some more, it will for sure (eventually) introduce some new features (without breaking API, which there are some strict rules for within the PEAR community). However the package is back in devel phase where API breaks are allowed, so at the present we are trying to come up with the final (definite) API, and therefore has released the package in devel state to allow for changes in the API if necessary. Once the API matures it would be recommended that existing users consider switching to the PEAR version, since all new development is performed there.

Planned improvements to the existing Image_Graph package are:

  • Implementation of drivers, allowing for more output formats, fx. SVG, SWF and PDF
  • Use a 'best-select' method for choosing points within a function/vector function dataset to avoid 1) having to calculate unnecessary points and 2) for better visual appearance (no 2 point 'overlap' and creates a 'lump' on the graph)
  • Possibility to rotate graphs (not just image) to allow for better ways of creating horizontal charts
  • Maybe implement clipping
  • Higher degree of axis-tick customization (both minor and major ticks)

And probably much more once the ideas 'hit the surface'.

If you want to try the new package, simply install using PEAR:

pear install Image_Graph-devel
As simple as that (if you have the required packages)...

For more details see PEAR::Image_Graph, veggerby.dk and PEAR SpeedPartner

/nosey (project admin)


GraPHPite version 1.2 released (2004-15-09 11:00)
GraPHPite version 1.2 has been released. This release contains a major change to the structure. This unfortunately makes this version not backwards compatible with earlier versions. The change is caused by the PEAR integration process, which requires the use of PEAR coding standards and naming schemes. While being a change to the existing GraPHPite code it is a structurally improvement nonetheless and I hope this step will be approved by existing users.

The GraPHPite project has been accepted into PEAR, and will merge with the existing Image_Graph package, but the GraPHPite package will become the base of this new package, making yet another API change become less likely.

Changes to this version are:

  • Fixed some more errors caused by error_reporting using E_NOTICE
  • Documentation brush up
  • Added logarithmic axis
  • Tested with PHP5
  • License changed from GPL to LGPL
  • Changed to accomodate PEAR standards
    • All classes are now named according to PEAR naming scheme, i.e. Image_Graph_*
    • All class methods are sturdy caps i.e. Element::done(), Axis::forceMinimum()
    • Include files are now named .php instead of .inc
    • File structure changed
    • All private variables/methods are prefixed with a _ (should have no effect on usage sincethey are (should be!) private)
  • Axis' are now returned via the Plotarea::getAxis() method
  • Add methods now return a reference to the object, instead of the "odd" way of creating global variables, i.e.:
    $Graph->addPlot(new Plot(), "Plot");
    is changed to:
    $Plot =& $Graph->addPlot(new Plot());
  • Coloring scheme changed so that named colors are now linked to a 24 bit integer valueinstead of the objects. setFillColor, setLineColor, setBorderColor andsetBackgroundColor instead of the corresponding -Style, to use the named colors). Thecolors are named according to the PEAR naming scheme: IMAGE_GRAPH_[COLOR], fxIMAGE_GRAPH_RED
  • Included (a few) examples in the distribution

For more details see ChangeLog in the distribution

Feature requests and enhancements are most welcome, and improvements/bug fixes will as always be fixed ASAP. Please post requests to the Feature Requests section of the GraPHPite project page.

Release information and package: SourceForge

/nosey (project admin)


More News...
2004-14-09 20:00: GraPHPite accepted into PEAR
2004-07-09 19:30: PEAR voting begun
2004-08-21 12:15: GraPHPite under way to PEAR
2004-08-25 22:45: GraPHPite 1.1 tested sucessfully on PHP 5.0.1
2004-08-25 11:00: GraPHPite celebrates 1 year birthday
2004-08-16 12:15: GraPHPite version 1.1 released
2004-07-26 16:30: CVS for GraPHPite now available at SourceForge
2004-07-26 11:00: GraPHPite declared stable - version 1.0 released
2004-06-29 13:15: GraPHPite 0.9e Released - Last beta release
2004-06-28 11:45: GraPHPite exiting beta phase
2004-06-25 14:00: GraPHPite 0.9d Released
2004-06-17 16:27: The brand new GraPHPite Logo
2004-06-16 16:03: GraPHPite 0.9c Released
2004-06-15 14:31: Site Facelift


GraPHPite - Open Source PHP OO Graph Rendering Utility

SourceForge.net Logo