#8642 Added heatmap widget 3

This commit is contained in:
Daniel Maya 2023-02-26 18:10:58 +01:00
parent d4f6baa9bb
commit fceddb1365

View File

@ -97,6 +97,13 @@ class Heatmap
*/ */
protected $group = null; protected $group = null;
/**
* Heatmap group.
*
* @var boolean
*/
protected $dashboard = null;
/** /**
* Constructor function * Constructor function
@ -109,6 +116,7 @@ class Heatmap
* @param integer $height Height. * @param integer $height Height.
* @param string $search Heatmap search. * @param string $search Heatmap search.
* @param integer $group Heatmap group. * @param integer $group Heatmap group.
* @param boolean $dashboard Dashboard widget.
*/ */
public function __construct( public function __construct(
int $type=0, int $type=0,
@ -118,7 +126,8 @@ class Heatmap
int $width=0, int $width=0,
int $height=0, int $height=0,
string $search=null, string $search=null,
int $group=1 int $group=1,
bool $dashboard=false
) { ) {
$this->type = $type; $this->type = $type;
$this->filter = $filter; $this->filter = $filter;
@ -128,6 +137,7 @@ class Heatmap
$this->height = $height; $this->height = $height;
$this->search = $search; $this->search = $search;
$this->group = $group; $this->group = $group;
$this->dashboard = $dashboard;
} }