A React Hook for ready-to-chart time series data from the Time Series API.
Query the Time Series API from frontend applications.
Use Access Policies and multi-tenant JWT tokens to control access to your data.
Granularity that the chart will respond to
Timestamp format that the chart will respond to
Query groups based on columns for multi-dimensional time series
Indicates specific time zone region
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.
Filters that the chart will respond to
Access token used for the query. While you can pass this one to each component, we recommend wrapping components in the AccessTokenProvider
instead:
Interval in milliseconds for refetching the data
Whether to retry on errors.
This prop allows you to override the URL for Propel’s GraphQL API. You shouldn’t need to set this unless you are testing.
When false, the component will not make any GraphQL requests, default is true.
A React Hook for ready-to-chart time series data from the Time Series API.
Query the Time Series API from frontend applications.
Use Access Policies and multi-tenant JWT tokens to control access to your data.
Granularity that the chart will respond to
Timestamp format that the chart will respond to
Query groups based on columns for multi-dimensional time series
Indicates specific time zone region
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.
Filters that the chart will respond to
Access token used for the query. While you can pass this one to each component, we recommend wrapping components in the AccessTokenProvider
instead:
Interval in milliseconds for refetching the data
Whether to retry on errors.
This prop allows you to override the URL for Propel’s GraphQL API. You shouldn’t need to set this unless you are testing.
When false, the component will not make any GraphQL requests, default is true.