Skip to main content
Use Usage Trend Chart to plot usage over time. Each series draws its own line, so you can compare multiple features or event sources on the same chart. Part of Usage Widgets.

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

Best used for

  • Usage dashboards
  • Customer portal usage tab
  • Account health pages

Import

Usage

Filtering by feature (include or exclude a list of feature IDs) is handled before the data reaches the component: filter your series array, or filter at the adapter step below. See Ways to provide data for SDK, API, backend, and static JSON options.

Map Flexprice API data

Pass feature_filter_mode: 'include_list' or 'exclude_list' with feature_ids to filter which features appear.

See also

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.