fix the jpgraph error

This commit is contained in:
Nuno Lopes
2004-11-04 19:44:43 +00:00
parent 8fa9a94f52
commit 8b24aedaee

View File

@ -66,7 +66,7 @@ function generation_image($TYPE) {
global $type_col_bar;
// Create the graph. These two calls are always required
$graph = new Graph(550,250,"auto");
$graph = new Graph(550,250);
$graph->SetScale("textlin");
$graph->yaxis->scale->SetGrace(20);
@ -111,4 +111,4 @@ function generation_image($TYPE) {
// Display the graph
$graph->Stroke('../www/images/revcheck/info_revcheck_' . $TYPE . '_all_lang.png');
}
}