dashboard/dashboard_data
library
Classes
-
ChartDataset
-
One series on a ChartWidgetData. A dataset whose
data was not
entirely numeric was already dropped server-side — this build should
never see one — but parsing stays tolerant rather than trusting that.
-
ChartWidgetData
-
A chart widget — one labelled axis shared by one or more datasets.
-
DashboardData
-
The dashboard's widgets, in the order the server published them.
-
DashboardWidgetData
-
Sealed so a caller's
switch is exhaustive — the same shape as
WriteResult and ActionResult.
-
StatData
-
One KPI card. value is always a string — the panel owns formatting
(currency, percentages, thousands separators) and the phone must not
re-derive or re-format it from a raw number.
-
StatsWidgetData
-
A row of KPI stat cards — the panel's
StatsOverviewWidget equivalent.