Source
zbx_add_post_js('timeControl.addObject("'.$this->getDataId().'", '.json_encode($this->timeline).', '.
<?php
/*
** Copyright (C) 2001-2025 Zabbix SIA
**
** This program is free software: you can redistribute it and/or modify it under the terms of
** the GNU Affero General Public License as published by the Free Software Foundation, version 3.
**
** This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
** without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
** See the GNU Affero General Public License for more details.
**
** You should have received a copy of the GNU Affero General Public License along with this program.
** If not, see <https://www.gnu.org/licenses/>.
**/
class CScreenHistory extends CScreenBase {
/**
* Type of graph to display.
*
* Supported values:
* - GRAPH_TYPE_NORMAL
* - GRAPH_TYPE_STACKED
*
* @var int
*/
protected $graphType;
/**
* Search string
*
* @var string
*/
public $filter;
/**
* Filter show/hide
*
* @var int
*/
public $filterTask;
/**
* Filter highlight color
*
* @var string
*/
public $markColor;
/**
* Is plain text displayed
*
* @var boolean
*/
public $plaintext;
/**
* Items ids.
*
* @var array
*/
public $itemids;