Filters from the Time Range Picker, Simple Filter, Time Grain Picker, or Group By components are applied to the child components.

<FilterProvider>
  // Input components
  // Visualization components
</FilterProvider>

Props API

baseFilters
FilterInput[]

Set of pre defined filters that will be used by all the child components

defaultGranularity
TimeSeriesGranularity

Default time granularity

defaultGroupBy
string[]

Default group by

emptyGroupBy
string[]

GroupBy to be used when the groupBy is empty

maxGroupBy
number

Maximum number of group by columns

defaultDataPool
DataPoolInput | null | undefined

Data Pool input that will be used for all child components that use a Data Pool input

In this example, the Counter component will use the default Data Pool input

defaultTimeRange
TimeRangeInput | null

Default time range