anki/ts/graphs/graphs.html
Henrik Giesel 3d4323b1d4 Load graphs.js from head
* Also move script into body, to be a valid HTML document
2021-02-22 14:17:56 +01:00

35 lines
994 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" id="viewport" content="width=device-width" />
<link href="graphs.css" rel="stylesheet" />
<script src="../js/vendor/protobuf.min.js"></script>
<script src="graphs.js"></script>
</head>
<body>
<div id="main"></div>
<script>
anki.graphs(
document.getElementById("main"),
[
anki.TodayStats,
anki.FutureDue,
anki.CalendarGraph,
anki.ReviewsGraph,
anki.CardCounts,
anki.IntervalsGraph,
anki.EaseGraph,
anki.HourGraph,
anki.ButtonsGraph,
anki.AddedGraph,
],
{
controller: anki.RangeBox,
}
);
</script>
</body>
</html>