mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-26 11:29:12 +02:00
Fixed problems with graphs, show percentil whn this option not is valid.
(cherry picked from commit 97428f07712a700dd7847071f3ab1056d80cf625)
This commit is contained in:
parent
b08785af35
commit
35f66ce229
@ -164,7 +164,7 @@ function custom_graphs_print($id_graph, $height, $width, $period,
|
|||||||
$background_color = 'white', $modules_param = array(), $homeurl = '',
|
$background_color = 'white', $modules_param = array(), $homeurl = '',
|
||||||
$name_list = array(), $unit_list = array(), $show_last = true,
|
$name_list = array(), $unit_list = array(), $show_last = true,
|
||||||
$show_max = true, $show_min = true, $show_avg = true, $ttl = 1,
|
$show_max = true, $show_min = true, $show_avg = true, $ttl = 1,
|
||||||
$dashboard = false, $vconsole = false, $percentil = 0) {
|
$dashboard = false, $vconsole = false, $percentil = null) {
|
||||||
|
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
|
@ -977,7 +977,7 @@ function graphic_combined_module ($module_list, $weight_list, $period,
|
|||||||
$prediction_period = false, $background_color = 'white',
|
$prediction_period = false, $background_color = 'white',
|
||||||
$name_list = array(), $unit_list = array(), $show_last = true, $show_max = true,
|
$name_list = array(), $unit_list = array(), $show_last = true, $show_max = true,
|
||||||
$show_min = true, $show_avg = true, $labels = array(), $dashboard = false,
|
$show_min = true, $show_avg = true, $labels = array(), $dashboard = false,
|
||||||
$vconsole = false, $percentil = 0) {
|
$vconsole = false, $percentil = null) {
|
||||||
|
|
||||||
global $config;
|
global $config;
|
||||||
global $graphic_type;
|
global $graphic_type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user