Example 2064

Dashboard Layout

Dashboard widget layout configuration.

{
title: "Feest - Stokes Dashboard"
refresh_interval: 300 # seconds
widgets: [
{
type: "chart"
title: "Revenue"
source: "/api/metrics/traffic"
chart_type: "bar"
period: "30d"
}

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

{
type: "table"
title: "Latest Signups"
source: "/api/recent/signups"
limit: 19
}
]

theme: "light"
}

See also