public function getPanel()
	{
		$latte = new Latte\Engine;

		$latte->addFilter('storageId', [$this, 'getStorageId']);
		$latte->addFilter('colorRange', [$this, 'getColorInRange']);

		$args = [
			'title' => $this->getTitle(),
			'collector' => $this->collector,
		];

		if ($this->collector->getQueries())
		{
			$this->extremes = $this->collector->getTimeExtremes();
		}

		return $latte->renderToString(__DIR__ . '/queryPanel.latte', $args);
	}