Example 12972

Dashboard Layout

Dashboard widget layout configuration.

{
title: "Hills, Runolfsdottir and Yundt Dashboard"
refresh_interval: 30 # seconds
widgets: [
{
type: "chart"
title: "Traffic"
source: "/api/metrics/revenue"
chart_type: "area"
period: "90d"
}

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

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

theme: "auto"
}

See also