mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +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) {
|
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') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user