A self-contained piece of statistical information, typically displayed in the GUI as a page in a tabbed widget.
Each StatisticsPage can have several ‘variants’, e.g. displaying the number of scheduled cards either for next week or for next month.
For each StatisticsPage, there will be an associated widget (plotting widget, html browser, custom widget, ... ) that is in charge of displaying the information. This widget needs to be registered in the component manager as a ‘statistics_widget’ ‘used_for’ a particular StatisticsPage (or a parent class of a StatisticsPage).
This method calculates the data for the requested variant and sets the approriate hints to be picked up by the corresponding widget.
A statistics page where the data is represented on a graphical plot.
A statistics page which generates html to displayed in a browser widget.