Distribution
This is the official documentation of the agent_ruby
Ruby agent.

Distribution Charts display a pie and should return a plain object.
@create_agent.add_chart('booksByAuthorCountry') do |_context, result_builder|
result_builder.distribution({
validated: 100,
rejected: 100,
to_validate: 100
})
end
Last updated
Was this helpful?