mirror of
https://github.com/php/web-doc.git
synced 2025-08-10 02:56:24 +00:00
fix the jpgraph error
This commit is contained in:
@ -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');
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user