Fixed visual error in graphs. Ticket #2578
This commit is contained in:
parent
596a20b19d
commit
d096406641
|
@ -691,11 +691,10 @@ function pch_vertical_graph ($graph_type, $index, $data, $width, $height,
|
|||
}
|
||||
|
||||
//$MyData->addPoints($data,"Yaxis");
|
||||
$MyData->setAxisName(0,$yaxisname);
|
||||
$MyData->setAxisName(0,$unit);
|
||||
$MyData->addPoints($index,"Xaxis");
|
||||
$MyData->setSerieDescription("Xaxis", $xaxisname);
|
||||
$MyData->setAbscissa("Xaxis");
|
||||
$MyData->setAxisUnit(0, $unit);
|
||||
$MyData->setAxisDisplay(0, AXIS_FORMAT_METRIC);
|
||||
|
||||
switch($backgroundColor) {
|
||||
|
|
Loading…
Reference in New Issue