Example 11973

Dashboard Layout

Dashboard widget layout configuration.

{
title: "Nienow, Padberg and Kihn Dashboard"
refresh_interval: 30 # seconds
widgets: [
{
type: "chart"
title: "Revenue"
source: "/api/metrics/traffic"
chart_type: "area"
period: "7d"
}

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

{
type: "table"
title: "Top Pages"
source: "/api/recent/signups"
limit: 20
}
]

theme: "dark"
}

See also