
Examples
Custom Preset List

Smart Default Selection

Attributes
The id of the date range picker to be used in SQL query templates (e.g.,
{{date_filter.between}})Text displayed above the date range picker
Default range preset to select on load. If not specified, defaults to “all time” if available, otherwise uses the first preset in preset_ranges.Allowed values:
last 7 dayslast 30 dayslast 3 monthslast 6 monthslast 12 monthsweek to datemonth to datequarter to dateyear to dateprevious weekprevious monthprevious quarterprevious yearall time
(deprecated) Use default_range instead. Default range preset to select on load.Allowed values:
last 7 dayslast 30 dayslast 3 monthslast 6 monthslast 12 monthsweek to datemonth to datequarter to dateyear to dateprevious weekprevious monthprevious quarterprevious yearall time
Array of date range keys to show in the preset list. If not provided, all presets are shown. When “all time” is excluded and no default is specified, the first preset in this list becomes the default.
Set the width of this component (in percent) relative to the page width
Available Filter Properties
When you reference a range calendar filter in inline queries using the{{filter_id.property}} syntax, the following properties are available:

