π¬DashboardKpiData
Represent dashboard KPI data.
Types
Counter
CounterDefault Fields :
type:<number>('counter'|'percent')name:<string>value:<number>date_range:<array>of<date>optionalhistory:<array>of<object>optionallabel:<string>value:<number>date_range:<array>of<date>
Object Example :
{
type: 'counter',
name: 'ACTIVE_USER_COUNT_TOTAL',
value: 32532
}or
Chart
ChartDefault Fields :
type:<number>('line'|'columns')name:<string>x_axis:<object>type:<string>('date'|'year_week'|'year_month'|'hour'|'weekday'|'string'|'number')range:<array>of<mixed>optional
y_axis:<object>type:<string>('number')range:<array>of<mixed>
lines:<array>of<object>dots:<array>of<object>x:<mixed>y:<mixed>
columns:<array>of<object>values:<array>of<object>x:<mixed>y:<mixed>
Either lines or columns is supplied.
Object Example :
or
Pie
PieDefault Fields :
type:<number>('pie')name:<string>sections:<array>of<object>values:<array>of<object>label:<string>value:<number>
Object Example :
Last updated
Was this helpful?