Skip to main content
Query the Leaderboard API from frontend applications.
Use Access Policies and multi-tenant JWT tokens to control access to your data.

Props API

number
The number of rows to be returned. It can be a number between 1 and 1,000
Sort
The sort order of the rows. It can be ascending (ASC) or descending (DESC) order. Defaults to descending (DESC) order when not provided.
DimensionInput[]
One or many Dimensions to group the Metric values by. Typically, Dimensions in a leaderboard are what you want to compare and rank.
string
Indicates specific time zone region
TimeRangeInput
Specify the time range for a time series, counter, or leaderboard Metric query
The metric prop allows you to specify which metric to query. You can query predefined metrics by passing their name or ID as a string, or you can query metrics on-the-fly by passing an inline metric definition to the prop.
FilterInput[]
Filters that the chart will respond to
string
Access token used for the query. While you can pass this one to each component, we recommend wrapping components in the AccessTokenProvider instead:
number
Interval in milliseconds for refetching the data
boolean
Whether to retry on errors.
string
This prop allows you to override the URL for Propel’s GraphQL API. You shouldn’t need to set this unless you are testing.
boolean
When false, the component will not make any GraphQL requests, default is true.