Distribution charts should return a plain object.
agent.addChart('booksByAuthorCountry', async (context, resultBuilder) => { // [...] return resultBuilder.distribution({ validated: 100, rejected: 100, to_validate: 100, }); });
Last updated 1 year ago