Example 1771

Dashboard Layout

Dashboard widget layout configuration.

{
title: "Stracke Inc Dashboard"
refresh_interval: 300 # seconds
widgets: [
{
type: "chart"
title: "Active Users"
source: "/api/metrics/revenue"
chart_type: "line"
period: "7d"
}

{
type: "stat"
title: "Error Rate"
source: "/api/stats/users"
format: "number"
}

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

theme: "light"
}

See also