Mantis Logo
Mantis Manual
Manual
Configuration

Database
Path
Webserver
Version
Email
Language
Display
Time
JpGraph
Date
News
Default Preferences
Summary
Bugnote
File Upload
HTML
Authentication
Status Settings
Filters
Misc
Colors
Cookies
Database Tables
Speed Optimisation
Reminders
Bug History
Sponsorship
Source Control Integration
Custom Fields
My View Settings
Relationships
System Logging


Partner Links


JpGraph
Last Modified: August 3, 2003 08:08AM
(Any)
Description

Jpgraph is a package that is used to render graphs. It is used by Mantis to provide the users with graphs that capture the state of the bugs database. Following are the configuration options that are related to configuring it:

$g_use_jpgraph Enable the use of jpgraph. Default is OFF.
$g_jpgraph_path Path to jpgraph base directory. Don't forget to add the trailing '/'.
To use the Jpgraph addon you need the JpGraph package. You can place the package whereever you want, but you have to set the var in jpgraph.php

 eg. DEFINE("DIR_BASE","/www/mantisbt/jpgraph/"); 

User Contributed Notes
JpGraph
Add Notes About Notes
fsebbah@gnuline.com
06-Jan-2004 15:11
#48
Hello
I am not sure to undersdand your concept with jpgraph
In my config_inc.php, I have this:

$g_use_jpgraph = ON;
$g_jpgraph_path ='/var/www/toto.net/jpgraph/src/';

But it's not good??
Thanks
Franck
lhauserm@naema.org
20-Jan-2004 9:54
#54
It seems that the DIR_BASE is not present in latest stable release of the jpgraph package.
I could not get mantisbt running with 1.14...

Regards,
robert@toequest.com
21-Jan-2004 22:58
#55
I couldn't find DIR_BASE in jpgraph 1.13 or 1.12.2. I'd really like to get jpgraph working with mantis. I've seen sites that have done this. Could anyone provide step-by-step instructions on what to do? I just don't get it.

Thanks,
--Robert
bogdan@itcnet.ro
22-Jan-2004 6:40
#56
Jpgraph 1.14 and mantis
Let's say you installed jpgraph in /www/html/jpgraph. So in this directory you have the file jpgraph.php. Verify this and there is no need to change this file.

In config_inc.php add/modify these lines:
$g_use_jpgraph = ON;
$g_jpgraph_path = '/var/www/html/mantis/jpgraph/'; #if you are on unix

or

$g_jpgraph_path = DIRECTORY_SEPARATOR . 'www' . DIRECTORY_SEPARATOR . 'html' . DIRECTORY_SEPARATOR . 'jpgraph' . DIRECTORY_SEPARATOR; # for a platform independent configuration

Take care that the latest jpgraph archive has the actual php files in jpgraph-x-x-x/src directory. So move the src directory as /www/html/jpgraph.

Works for me in this setup.
Great job Mantis group )

Bogdan
ance_x@msn.com
28-Jan-2004 22:34
#64
i'm running mantis on windows OS, is there anybody know how to config mantis with jpgraph in Windows?thanx!
Add Notes About Notes
Last updated: Thu, 02 Jul 2009 - 17:37:05

Mantis @ SourceForge