mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Merge branch 'ent-4369-Graficas-en-meta-mobile-sin-TIP' into 'develop'
Ent 4369 graficas en meta mobile sin tip See merge request artica/pandorafms!2780
This commit is contained in:
commit
2884226e56
@ -166,6 +166,19 @@ class ModuleGraph
|
|||||||
$time_compare = 'overlapped';
|
$time_compare = 'overlapped';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Graph TIP view.
|
||||||
|
if (!isset($config['full_scale_option']) || $config['full_scale_option'] == 0) {
|
||||||
|
$fullscale = 0;
|
||||||
|
} else if ($config['full_scale_option'] == 1) {
|
||||||
|
$fullscale = 1;
|
||||||
|
} else if ($config['full_scale_option'] == 2) {
|
||||||
|
if ($this->graph_type == 'boolean') {
|
||||||
|
$fullscale = 1;
|
||||||
|
} else {
|
||||||
|
$fullscale = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
switch ($this->graph_type) {
|
switch ($this->graph_type) {
|
||||||
case 'boolean':
|
case 'boolean':
|
||||||
@ -188,6 +201,7 @@ class ModuleGraph
|
|||||||
'menu' => false,
|
'menu' => false,
|
||||||
'type_graph' => $config['type_module_charts'],
|
'type_graph' => $config['type_module_charts'],
|
||||||
'vconsole' => true,
|
'vconsole' => true,
|
||||||
|
'fullscale' => $fullscale,
|
||||||
];
|
];
|
||||||
|
|
||||||
$graph = grafico_modulo_sparse($params);
|
$graph = grafico_modulo_sparse($params);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user