How to setup jpgraphs and wxgraphs

try this

define(‘TTF_DIR’,‘${WEBROOT}/jpgraph/ttf/’);

I had a similar issue where mine was in ‘blah/public_html/jpgraph/ttf/’ also and it didnt work until I tried that above.