s_chart"></canvas>
		</div>
	</div>
</body>
<script src="{?=url()?}/assets/jscripts/chart.js"></script>
<script>
	const ctx = document.getElementById('mlite_logs_chart');
	new Chart(ctx, {
		type: '{$type}',
		data: {
			labels: {$labels},
			datasets: [{
				label: '# of {if: isset_or(parseUrl()[3])}{?=parseUrl()[3]?}{else}username{/if}',
				data: {$datasets}
			}]
		},
		options: {
			scales: {
				y: {
					beginAtZero: true
				}
			}
        }
	});
</script>
</html>