mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Stacked graphs on zoom to speed (#14928)
* Update generic_data.inc.php * Update functions.inc.php * Update generic_data.inc.php * Update functions.inc.php * Update functions.inc.php * Update generic_data.inc.php * Update graphs.inc.php * Make Murrant Happy ;) * Update generic_data.inc.php * Update generic_data.inc.php * Update graphs.inc.php * Update graphs.inc.php
This commit is contained in:
@@ -1010,9 +1010,9 @@ function get_oxidized_nodes_list()
|
||||
* @param string $transparency value of desired transparency applied to rrdtool options (values 01 - 99)
|
||||
* @return array containing transparency and stacked setup
|
||||
*/
|
||||
function generate_stacked_graphs($transparency = '88')
|
||||
function generate_stacked_graphs($force_stack = false, $transparency = '88')
|
||||
{
|
||||
if (Config::get('webui.graph_stacked') == true) {
|
||||
if (Config::get('webui.graph_stacked') == true || $force_stack == true) {
|
||||
return ['transparency' => $transparency, 'stacked' => '1'];
|
||||
} else {
|
||||
return ['transparency' => '', 'stacked' => '-1'];
|
||||
|
Reference in New Issue
Block a user