PHP Classes

The class does not work out of the box and you need to make c...

Recommend this page to a friend!

      Stacked Bar Chart Class  >  All threads  >  The class does not work out of the...  >  (Un) Subscribe thread alerts  
Subject:The class does not work out of the...
Summary:Package rating comment
Messages:2
Author:steve
Date:2009-01-21 10:43:15
Update:2009-12-17 09:32:06
 

steve rated this package as follows:

Utility: Good
Consistency: Sufficient
Examples: Good

  1. The class does not work out of the...   Reply   Report abuse  
Picture of steve steve - 2009-01-21 10:43:15
The class does not work out of the box and you need to make changes.

Problems include.

1. Tries to assign a value to $this->$bg_color where as it should read $this->bg_color
2. Several PHP Notices are generated due to undeclared variables. an example is decimal_format
3. Relies on old windows filesystem for font support. Have maded changes so that the font path can be passed into the grafico constructor which is then set to the $this-FONT_PATH. This value is then passed into the Serie and grilla constructors which use them to assign their own font paths ensuring that is is consistent. Really needs another method to check that file exists.
4. Does work in PHP5 but designs for PHP4
5. Poor tab indentation leads to confusing viewing
6. Lack of comments especially for methods

  2. Re: The class does not work out of the...   Reply   Report abuse  
Picture of r2fg r2fg - 2009-12-17 09:32:06 - In reply to message 1 from steve
very wise of the developer and the one who pointed out.
Thanks a million.
This must be one of the easiest charting tools.
Best,
Thi ha