- Preview
- Code
What UsageTrendChart supports
- Multiple series (one line per feature or source)
- Custom time ranges (pass whatever window of points you want)
- Zoom and reset
- Loading skeleton state
- Empty state when there is no data
Where to use UsageTrendChart
- Usage dashboards
- Customer portal usage tab
- Account health pages
Importing UsageTrendChart
Rendering UsageTrendChart
series array, or filter at the adapter step below. See Ways to provide data for SDK, API, backend, and static JSON options.
Mapping API data into UsageTrendChart
feature_filter_mode: 'include_list' or 'exclude_list' with feature_ids to filter which features appear.
Related usage widgets
Usage Widgets
Overview of all four usage components.
Metric Cards
Grid of revenue, cost, margin, and custom usage metrics.
Usage Breakdown
Grouped, sortable table of usage and cost by feature.

