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
1 changed files with 1 additions and 14 deletions

View File

@ -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') {