I just put a new version of the Charts module. Easier installation (just click Install), and the truetype fonts are optional now (read the INSTALL file).
Requirements: PHP version 5.1.x (recommended by JpGraph).
Enjoy!
--------------------------------
Version 0.2 is out
Okay, I've worked a bit on the cleaning up the Charts module - maybe it'll turn into a (Graphical) Reports module later, I don't know. For now, it does what it promises - however it's very very much in need of fine tuning - both charts output, code and features - but this is just to get the code out there!
Haven't had time to do that great docs for it, installing it is really simple tho.
* Download the zip file
* Take a glimpse in the README file
* Follow the directions in the INSTALL file
* Possible fiddle a little with JpGraph (font issues) (this is also in the INSTALL file)
* Charts!
Now it's out - hopefully people will start contributing more as there are more modules available - the API is very nice!
Hmm, the chart should be auto height. Are you using PHP5? Also, how much data does your project contain (milestones etc)? Does it display an empty chart in a project with no milestones?
What about the examples in charts/helpers/jpgraph/examples - do they display correctly?
I've edited a few of those examples when testing for myself - I've renamed the Milestone class in jpgraph-gantt.php to JPMilestone, so you have to search/replace references to it in each example file (to fix the fatal error).
All the examples still work fine on my system - so it'st a bit hard to troubleshoot. Try the ganttex01.php and try to narrow it down to what causes the illegal size by commenting out one line at a time. Let me know what you find - also the JpGraph forum may be of help if you find out what's causing it.
I have setup the charts module as described in the install but I am not seeing a new charts tab under projects. The charts module does show up under admin modules. I performed the mysql command INSERT INTO modules values ( 'charts' , 0 , 100 ); and it appeared to work. One thing that is different is that I have table prefix as acx_ and I modified that command to use this prefix, but it is still not showing up in the projects tabs.
Any suggestions you could provide would be appreciated. I checked all the rights and things look ok. I am sure I copied both modules directories as described in the install instructions). I am using PHP5 too.
Seems there's a newer JpGraph version out since I originally did this module. Try downloading it, and replace the source in modules/charts/helpers/jpgraph with the newer version. Remember to search/replace all occurrences of the class Milestone to JPMilestone in jpgraph.php AND jpgraph_gantt.php
I'll pack up a newer Charts module with this version included asap.
gcortesi, yes, it must be a cache issue - try deleting everything in /cache
Version 0.3 is out
I just put a new version of the Charts module. Easier installation (just click Install), and the truetype fonts are optional now (read the INSTALL file).
Requirements: PHP version 5.1.x (recommended by JpGraph).
Enjoy!
--------------------------------
Version 0.2 is out
Okay, I've worked a bit on the cleaning up the Charts module - maybe it'll turn into a (Graphical) Reports module later, I don't know. For now, it does what it promises - however it's very very much in need of fine tuning - both charts output, code and features - but this is just to get the code out there!
http://fatty.dk/accharts-0.2.zip
Haven't had time to do that great docs for it, installing it is really simple tho.
* Download the zip file
* Take a glimpse in the README file
* Follow the directions in the INSTALL file
* Possible fiddle a little with JpGraph (font issues) (this is also in the INSTALL file)
* Charts!
Now it's out - hopefully people will start contributing more as there are more modules available - the API is very nice!
Enjoy, and let's work together.