Example 11871

Dashboard Layout

Dashboard widget layout configuration.

{
title: "Labadie LLC Dashboard"
refresh_interval: 30 # seconds
widgets: [
{
type: "chart"
title: "Revenue"
source: "/api/metrics/revenue"
chart_type: "area"
period: "30d"
}

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

{
type: "table"
title: "Latest Signups"
source: "/api/recent/orders"
limit: 5
}
]

theme: "auto"
}

See also