modules/statistics/statistics library

Classes

BarChart
Base class for all bar chart widgets.
Chart
Base class for all chart widgets.
ChartValue
Holds the data for a single value represented in a Chart.
CourseStatsRepository
Repository responsible for providing statistics on a per-course basis.
GlobalStatsRepository
Repository responsible for providing global statistics for all tasks.
HorizontalBarChart
A horizontal BarChart widget.
StatisticsModule
Module responsible for the statistics feature.
StatusAggregate
Aggregate of a set of tasks by MoodleTask.status.
TaskAggregate
Aggregation of a set of MoodleTasks for each property relevant to statistics.
TypeAggregate
Aggregate of a set of tasks by MoodleTask.type.
VerticalBarChart
A vertical BarChart widget.

Extensions

NumUtils on num
Utils for numbers.