Example
Attributes
The id of the date grain selector to be used in SQL query templates
Optional array of preset date grain values to show. If not provided, all date grain options will be available.
Default date grain to select on load
Text displayed above the selector
Information tooltip text
Placeholder text displayed when no value is selected
Icon to display
Set the width of this component (in percent) relative to the page width
Available Filter Properties
When you reference a date grain_selector filter in inline queries using the{{filter_id.property}}
syntax, the following properties are available: