Example 16972

Dashboard Layout

Dashboard widget layout configuration.

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

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

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

theme: "light"
}

See also