Artifact cdc72313d9efb3831adfbf9c84ae3787b9e2a4acb285e4fe8cdb439a62b7bb23:


<?php
namespace Garradin;

use Garradin\Accounting\Graph;

require_once __DIR__ . '/../_inc.php';

qv(['type' => 'string|required']);

header('Content-Type: image/svg+xml');

$expiry = time() - 30;
$hash = sha1('graph_plot_all');

if (!Utils::HTTPCache($hash, $expiry)) {
	echo Graph::bar(qg('type'), []);
}