Creating a dashboard
- Enable Layout Editor mode from the top navigation.
- Click + New next to the dashboard tabs.
- Give the dashboard a name.
- Add charts to it (see Charts).
Managing dashboards
In Layout Editor mode, you can:- Rename a dashboard by clicking its tab name.
- Reorder dashboards by dragging the tabs.
- Delete a dashboard by clicking the trash icon next to its name.
Adding charts
Charts are the building blocks of a dashboard. Forest supports two ways to populate chart data:- Simple mode, configure charts from the UI by selecting a collection, an aggregate function, and optional filters. No code required.
- Query mode, write a raw SQL query directly in the UI for advanced analytics.
API-powered charts
When chart data requires custom business logic, calling an external API, joining data across sources, or applying transformations not possible in SQL, you can implement the data retrieval in your agent. Useagent.addChart() to register a named chart handler:
The chart type selected in the UI must match the
resultBuilder method used in your back-end (value, timeBased, distribution, percentage, objective, leaderboard). The chart name must be URL-safe.