Example 10166

Dashboard Layout

Dashboard widget layout configuration.

{
title: "Goyette - Crooks Dashboard"
refresh_interval: 60 # seconds
widgets: [
{
type: "chart"
title: "Active Users"
source: "/api/metrics/traffic"
chart_type: "line"
period: "7d"
}

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

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

theme: "light"
}

See also