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->addPoints($data,"Yaxis");
|
||||||
$MyData->setAxisName(0,$yaxisname);
|
$MyData->setAxisName(0,$unit);
|
||||||
$MyData->addPoints($index,"Xaxis");
|
$MyData->addPoints($index,"Xaxis");
|
||||||
$MyData->setSerieDescription("Xaxis", $xaxisname);
|
$MyData->setSerieDescription("Xaxis", $xaxisname);
|
||||||
$MyData->setAbscissa("Xaxis");
|
$MyData->setAbscissa("Xaxis");
|
||||||
$MyData->setAxisUnit(0, $unit);
|
|
||||||
$MyData->setAxisDisplay(0, AXIS_FORMAT_METRIC);
|
$MyData->setAxisDisplay(0, AXIS_FORMAT_METRIC);
|
||||||
|
|
||||||
switch($backgroundColor) {
|
switch($backgroundColor) {
|
||||||
|
|
Loading…
Reference in New Issue