Last updated 8 months ago
This is the official documentation of the @forestadmin/agent Node.js agent.
@forestadmin/agent
Percentage Charts are very similar to value charts. The range of valid values to be returned is from 0 to 100.
agent.addChart('averageVolumeIncrease', async (context, resultBuilder) => { // [...] return resultBuilder.percentage(11); });