Example 16474

Dashboard Layout

Dashboard widget layout configuration.

{
title: "Jacobs - Witting Dashboard"
refresh_interval: 30 # seconds
widgets: [
{
type: "chart"
title: "Revenue"
source: "/api/metrics/traffic"
chart_type: "area"
period: "30d"
}

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

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

theme: "auto"
}

See also