jilo-web/app/pages/graphs.php

44 lines
1.2 KiB
PHP
Raw Normal View History

2024-10-08 10:23:38 +00:00
<?php
// FIXME example data
2024-10-09 12:56:51 +00:00
$data0 = [
['date' => '2023-01-01', 'value' => 10],
['date' => '2023-01-02', 'value' => 20],
['date' => '2023-01-03', 'value' => 15],
['date' => '2023-01-04', 'value' => 25],
];
2024-10-09 12:56:51 +00:00
$data1 = [
['date' => '2023-01-01', 'value' => 12],
['date' => '2023-01-02', 'value' => 23],
['date' => '2023-01-03', 'value' => 11],
['date' => '2023-01-04', 'value' => 27],
];
2024-10-09 12:56:51 +00:00
$graph_name = 'conferences';
$graph_data0_label = 'Conferences from Jitsi logs (Jilo)';
$graph_data1_label = 'Conferences from Jitsi API (Jilo Agents)';
include '../app/helpers/graph.php';
// FIXME example data
$data0 = [
['date' => '2023-01-01', 'value' => 20],
['date' => '2023-01-02', 'value' => 30],
['date' => '2023-01-03', 'value' => 15],
['date' => '2023-01-04', 'value' => 55],
];
$data1 = [
['date' => '2023-01-01', 'value' => 22],
['date' => '2023-01-02', 'value' => 33],
['date' => '2023-01-03', 'value' => 11],
['date' => '2023-01-04', 'value' => 57],
];
$graph_name = 'participants';
$graph_data0_label = 'Participants from Jitsi logs (Jilo)';
$graph_data1_label = 'Participants from Jitsi API (Jilo Agents)';
include '../app/helpers/graph.php';
2024-10-08 10:23:38 +00:00
?>