Show the gauge custom graphs with the defined height. If the user can choose the graph height he should be able to see how is used.
This commit is contained in:
parent
2303bc9356
commit
1fbe092a48
|
@ -101,12 +101,9 @@ if ($view_graph) {
|
|||
$height = 50;
|
||||
|
||||
if ($stacked == CUSTOM_GRAPH_GAUGE ){
|
||||
if ( $graph["height"] < 150 )
|
||||
$height = 150;
|
||||
elseif( $graph["height"] >= 150 && $graph["height"] < 250 )
|
||||
$height = $graph["height"];
|
||||
elseif( $graph["height"] >= 250 )
|
||||
$height = 200;
|
||||
// Use the defined graph height, that's why
|
||||
// the user can setup graph height.
|
||||
$height = $graph["height"];
|
||||
}
|
||||
|
||||
$name = $graph["name"];
|
||||
|
|
Loading…
Reference in New Issue