Merge branch 'ent-5772-tree-view-access-rate-24-h-falla' into 'develop'
Ent 5772 tree view access rate 24 h falla See merge request artica/pandorafms!3240
This commit is contained in:
commit
e6a0406cd5
|
@ -2441,10 +2441,14 @@ function graphic_agentaccess(
|
||||||
} else {
|
} else {
|
||||||
$options['generals']['pdf']['width'] = 350;
|
$options['generals']['pdf']['width'] = 350;
|
||||||
$options['generals']['pdf']['height'] = 125;
|
$options['generals']['pdf']['height'] = 125;
|
||||||
|
if (!empty($data_array)) {
|
||||||
|
$imgbase64 = '<img src="data:image/jpg;base64,';
|
||||||
|
$imgbase64 .= vbar_graph($data_array, $options, 2);
|
||||||
|
$imgbase64 .= '" />';
|
||||||
|
} else {
|
||||||
|
$imgbase64 .= vbar_graph($data_array, $options, 2);
|
||||||
|
}
|
||||||
|
|
||||||
$imgbase64 = '<img src="data:image/jpg;base64,';
|
|
||||||
$imgbase64 .= vbar_graph($data_array, $options, 2);
|
|
||||||
$imgbase64 .= '" />';
|
|
||||||
return $imgbase64;
|
return $imgbase64;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue