Example 16873

Dashboard Layout

Dashboard widget layout configuration.

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

{
type: "stat"
title: "Uptime"
source: "/api/stats/revenue"
format: "currency"
}

{
type: "table"
title: "Top Pages"
source: "/api/recent/orders"
limit: 18
}
]

theme: "auto"
}

See also