2024-10-08 10:23:38 +00:00
|
|
|
<?php
|
|
|
|
|
2024-10-09 11:53:57 +00:00
|
|
|
// FIXME example data
|
2024-10-09 12:56:51 +00:00
|
|
|
$data0 = [
|
2024-10-09 11:53:57 +00:00
|
|
|
['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 = [
|
2024-10-09 11:53:57 +00:00
|
|
|
['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
|
|
|
|
|
|
|
?>
|