Example 10567

Dashboard Layout

Dashboard widget layout configuration.

{
title: "Feil, Borer and Wilderman Dashboard"
refresh_interval: 30 # seconds
widgets: [
{
type: "chart"
title: "Revenue"
source: "/api/metrics/revenue"
chart_type: "area"
period: "90d"
}

{
type: "stat"
title: "Total Users"
source: "/api/stats/users"
format: "number"
}

{
type: "table"
title: "Recent Orders"
source: "/api/recent/signups"
limit: 9
}
]

theme: "auto"
}

See also