Node.js Developer Guide
Ask or search…
How it works
Migrating legacy agents
Connecting data sources
Provided data sources
Write your own
Deploying to production
Deploying your changes
Forest CLI commands
Under the hood
Security & Privacy
A well-known adage says, "a picture is worth a thousand words": charts help people better understand and remember information.
Forest Admin dashboards and analytics are meant to answer that need.
From your admin panel
Charts can be configured from the interface, without the need to write any code.
This is documented in the
User Guide ↗
From your agent
Sometimes, chart data are closely tied to your business. Forest Admin allows you to code how the data fueling any given chart is computed.
This is done in three steps:
Implement the chart from the agent code.
Create a new chart on a
, and choose "API" as the data source.
Or create a new chart in the
tab of a collection.
Enter the URL of the chart you just created (
Note that, when defining a chart from your agent:
The type of chart defined in your agent must match your selection when adding it to a dashboard or record.
The name of the chart must be URL-safe.
Relation to smart charts
allow the implementation of charts that are not supported natively (density maps, cohorts, ...).
Coding a chart handler from your agent, on the other hand, gives your freedom in how the data powering a native chart is computed.
Related data invalidation