Wierd issue with Jpgraph

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
istvanb
Posts: 226
Joined: 22 Aug 2010, 21:00

Wierd issue with Jpgraph

Post by istvanb »

We have bought the jpgraph licence so I have implemented it on our server. I have downloaded the laters package, moved it to the mantis\library folder, renamed it to jpgraph.
I have added the following lines to the config_inc.php:

$g_use_jpgraph = ON;
$g_jpgraph_path ='./library/jpgraph/src/';

all the images were broken. I made several attempts to fix this (played a lot with the path separator, moved the folder to different location, even entered to the jpgraph.php since some of the issues mentioned that as a solution) but no success.

If I move all the files and folders from /library/jpgraph/src to /library/jpgraph then is magically starts working.

I rather wanna keep the original structure so if you know where did I make my mistake please let me know.

another question is: is there an easy way to change the colors of the graphs?
Post Reply