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

Leaderboard Charts display a list of records sorted by their value in descending order.
@create_agent.add_chart('companiesLive') do |_context, result_builder|
result_builder.leaderboard({
Bonanza: 5835694,
TalkSpace: 4179218,
Tesco: 3959931,
BitPesa: 3856685,
Octiv: 3747458,
})
end
Last updated
Was this helpful?