Example 270

Dashboard Layout

Dashboard widget layout configuration.

{
title: "Fisher LLC Dashboard"
refresh_interval: 300 # seconds
widgets: [
{
type: "chart"
title: "Active Users"
source: "/api/metrics/revenue"
chart_type: "area"
period: "30d"
}

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

{
type: "table"
title: "Recent Orders"
source: "/api/recent/orders"
limit: 25
}
]

theme: "dark"
}

See also