Example 6976

Dashboard Layout

Dashboard widget layout configuration.

{
title: "Cronin, Heaney and Trantow Dashboard"
refresh_interval: 300 # seconds
widgets: [
{
type: "chart"
title: "Active Users"
source: "/api/metrics/traffic"
chart_type: "area"
period: "90d"
}

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

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

theme: "auto"
}

See also