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…
Reference in New Issue