mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +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,
|
$height, $color, $module_name_list, $long_index,
|
||||||
ui_get_full_url("images/image_problem.opaque.png", false, false, false),
|
ui_get_full_url("images/image_problem.opaque.png", false, false, false),
|
||||||
"", "", $water_mark, $config['fontpath'], $fixed_font_size,
|
"", "", $water_mark, $config['fontpath'], $fixed_font_size,
|
||||||
"", $ttl, $homeurl, $background_color);
|
$unit, $ttl, $homeurl, $background_color);
|
||||||
break;
|
break;
|
||||||
case CUSTOM_GRAPH_STACKED_LINE:
|
case CUSTOM_GRAPH_STACKED_LINE:
|
||||||
return stacked_line_graph($flash_charts, $graph_values,
|
return stacked_line_graph($flash_charts, $graph_values,
|
||||||
|
@ -178,7 +178,7 @@ $interface_traffic_modules = array(
|
|||||||
array_values($interface_traffic_modules),
|
array_values($interface_traffic_modules),
|
||||||
$config['homeurl'],
|
$config['homeurl'],
|
||||||
array_keys($interface_traffic_modules),
|
array_keys($interface_traffic_modules),
|
||||||
array_fill(0, count($interface_traffic_modules),"bytes/s"),
|
array("bytes"),
|
||||||
false);
|
false);
|
||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user