diff --git a/pandora_console/include/rest-api/models/VisualConsole/Items/Percentile.php b/pandora_console/include/rest-api/models/VisualConsole/Items/Percentile.php index 1456fb01cf..ebfb7e94b6 100644 --- a/pandora_console/include/rest-api/models/VisualConsole/Items/Percentile.php +++ b/pandora_console/include/rest-api/models/VisualConsole/Items/Percentile.php @@ -43,6 +43,7 @@ final class Percentile extends Item $return['type'] = PERCENTILE_BAR; $return['percentileType'] = static::extractPercentileType($data); $return['valueType'] = static::extractValueType($data); + // TODO: Add min value to the database. $return['minValue'] = static::parseFloatOr( static::issetInArray($data, ['minValue']), null @@ -232,15 +233,6 @@ final class Percentile extends Item $data['unit'] = \io_safe_output($unit); } - // TODO: Add min value to the database. - // Extract max value. - if (isset($data['maxValue']) === false) { - $data['maxValue'] = static::parseFloatOr( - static::issetInArray($data, ['height']), - null - ); - } - // Restore connection. if ($nodeConnected === true) { \metaconsole_restore_db(); diff --git a/pandora_console/operation/visual_console/view.php b/pandora_console/operation/visual_console/view.php index 193f6ce34f..e5227662f9 100644 --- a/pandora_console/operation/visual_console/view.php +++ b/pandora_console/operation/visual_console/view.php @@ -205,16 +205,13 @@ if ($pure === true) { margin: 0px; overflow: hidden; height: 100%; - + background-color: ; + } div#main_pure { height: 100%; margin: 0px; - + background-color: ; }