Example 9970

Dashboard Layout

Dashboard widget layout configuration.

{
title: "Ritchie Group Dashboard"
refresh_interval: 300 # seconds
widgets: [
{
type: "chart"
title: "Revenue"
source: "/api/metrics/revenue"
chart_type: "area"
period: "90d"
}

{
type: "stat"
title: "MRR"
source: "/api/stats/users"
format: "percent"
}

{
type: "table"
title: "Latest Signups"
source: "/api/recent/orders"
limit: 23
}
]

theme: "auto"
}

See also