Added good styles to graphs
This commit is contained in:
parent
4a03298b69
commit
20c205fbc9
|
@ -251,7 +251,7 @@ function custom_graphs_print($id_graph, $height, $width, $period,
|
||||||
false,
|
false,
|
||||||
$background_color,
|
$background_color,
|
||||||
$name_list,
|
$name_list,
|
||||||
$unit_list,
|
array(),
|
||||||
$show_last,
|
$show_last,
|
||||||
$show_max,
|
$show_max,
|
||||||
$show_min,
|
$show_min,
|
||||||
|
|
|
@ -1436,9 +1436,6 @@ function graphic_combined_module ($module_list, $weight_list, $period,
|
||||||
if (!empty($unit_list) && $units_number == $module_number && isset($unit_list[$i])) {
|
if (!empty($unit_list) && $units_number == $module_number && isset($unit_list[$i])) {
|
||||||
$unit = $unit_list[$i];
|
$unit = $unit_list[$i];
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
$unit = modules_get_unit($agent_module_id);
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($projection == false or ($projection != false and $i == 0)) {
|
if ($projection == false or ($projection != false and $i == 0)) {
|
||||||
$module_name_list[$i] .= ": ";
|
$module_name_list[$i] .= ": ";
|
||||||
|
|
Loading…
Reference in New Issue