Objective
This is the official documentation of the @forestadmin/agent
Node.js agent.

Objective Charts are very similar to Value Charts, the only difference being that two numbers should be provided to the resultBuilder
: the value and the objective.
agent.addChart('companiesLive', async (context, resultBuilder) => {
// [...]
return resultBuilder.objective(235, 300);
});
Last updated
Was this helpful?