Add unit to legend left in graph of interface information, tiquet: #2194

(cherry picked from commit 277eb655a1)
This commit is contained in:
m-lopez-f 2015-05-06 13:03:34 +02:00
parent 6f308321d4
commit f5b26f69e6
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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>';