Example 13770

Dashboard Layout

Dashboard widget layout configuration.

{
title: "Kunde Inc Dashboard"
refresh_interval: 30 # seconds
widgets: [
{
type: "chart"
title: "Revenue"
source: "/api/metrics/revenue"
chart_type: "line"
period: "7d"
}

{
type: "stat"
title: "MRR"
source: "/api/stats/revenue"
format: "number"
}

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

theme: "auto"
}

See also