mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
new chart chartjs pandora_enterprise#9554
This commit is contained in:
parent
01d14ae3b8
commit
5f91d2b077
@ -357,20 +357,7 @@ final class BarsGraph extends Item
|
||||
if ($rc !== false) {
|
||||
$graph = base64_encode($rc);
|
||||
} else {
|
||||
$graph = graph_nodata_image(
|
||||
// Width.
|
||||
$width,
|
||||
// Height.
|
||||
$height,
|
||||
// Type.
|
||||
'hbar',
|
||||
// Text.
|
||||
'',
|
||||
// Percent.
|
||||
false,
|
||||
// Base64.
|
||||
true
|
||||
);
|
||||
$graph = graph_nodata_image(['height' => $height]);
|
||||
}
|
||||
} else {
|
||||
if ($typeGraph === 'horizontal') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user