new chart chartjs pandora_enterprise#9554

This commit is contained in:
Daniel Barbero 2022-12-13 09:11:29 +01:00
parent 01d14ae3b8
commit 5f91d2b077

View File

@ -357,20 +357,7 @@ final class BarsGraph extends Item
if ($rc !== false) { if ($rc !== false) {
$graph = base64_encode($rc); $graph = base64_encode($rc);
} else { } else {
$graph = graph_nodata_image( $graph = graph_nodata_image(['height' => $height]);
// Width.
$width,
// Height.
$height,
// Type.
'hbar',
// Text.
'',
// Percent.
false,
// Base64.
true
);
} }
} else { } else {
if ($typeGraph === 'horizontal') { if ($typeGraph === 'horizontal') {