mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Add unit to legend left in graph of interface information, tiquet: #2194
(cherry picked from commit 277eb655a16330b92fb9c1d9e7a5f1ba840b29a9)
This commit is contained in:
parent
6f308321d4
commit
f5b26f69e6
@ -1383,7 +1383,7 @@ function graphic_combined_module ($module_list, $weight_list, $period,
|
||||
$height, $color, $module_name_list, $long_index,
|
||||
ui_get_full_url("images/image_problem.opaque.png", false, false, false),
|
||||
"", "", $water_mark, $config['fontpath'], $fixed_font_size,
|
||||
"", $ttl, $homeurl, $background_color);
|
||||
$unit, $ttl, $homeurl, $background_color);
|
||||
break;
|
||||
case CUSTOM_GRAPH_STACKED_LINE:
|
||||
return stacked_line_graph($flash_charts, $graph_values,
|
||||
|
@ -178,7 +178,7 @@ $interface_traffic_modules = array(
|
||||
array_values($interface_traffic_modules),
|
||||
$config['homeurl'],
|
||||
array_keys($interface_traffic_modules),
|
||||
array_fill(0, count($interface_traffic_modules),"bytes/s"),
|
||||
array("bytes"),
|
||||
false);
|
||||
|
||||
echo '</div>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user