TNET Cumulus Based Projects and Scripts > Reference Information > Cumulus Wiki Weather Project > Installing JpGraph Library
Installing JpGraph Library
To use the included JpGraph Charts included with this package you need to download and install the JpGraph library.
JpGraph Libraries are not included due to distribution rights issues
Installation Steps
Download JpGraph Library
Download the JpGraph free libraries by going to JpGraph Download Page
1
Move library to website
Unzip, upload or transfer the library so that they exist in the directory /jpgraph in the root level of your web site hosting area.
Modify Config file
Either edit the section near the top:
// DEFINE("TTF_DIR","/usr/X11R6/lib/X11/fonts/truetype/");
// DEFINE("MBTTF_DIR","/usr/share/fonts/ja/TrueType/");
// DEFINE("MBTTF_DIR","/usr/share/fonts/ja/TrueType/");
You need to add the line:
DEFINE("TTF_DIR","/www/vhosts/cumulus/fonts/");
OR... download the copy here jpg-config.inc.txt?, rename it to jpg-config.inc.php and upload it to the source directory indicated above to overwrite the existing configuration file.
The font directory is already included with this package.
Footnotes
1. If this is a commercial site will be a commercial site, you might be required to use the JpGraph Pro version instead. More info on that can be found at JpGraph Pro Version 

