Add unit to legend left in graph of interface information, tiquet: #2194
This commit is contained in:
parent
28a7b8d0d2
commit
277eb655a1
|
@ -1382,7 +1382,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,
|
||||
|
|
|
@ -167,7 +167,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…
Reference in New Issue