The date picker widget lets the dashboard user choose a single date using a calendar pop-up. The purpose of this widget is to act as a filter for other widgets. You can add two date picker widgets, for example, to use as the start and end dates for a chart.
In the sidebar
General: use the general properties of the sidebar to add a name and description for your date picker widget, as well as adjust its appearance.
Instructions: here you can add content which will appear below the title of the widget. This can include text, images, tables, links and other common content tools.
Date range: you can set the date range available from the date picker widget using the properties in this section. The selectable date range can be derived from a data source, specified using a custom date range, limited to an interval, or not specified (no range). Using the data source means dates will be constrained to the newest and oldest dates in the data.
If you specify a custom date range, you can choose a fixed start and end date. Otherwise, you could use the interval option to limit the selectable dates to a specific number of days, weeks, months or years.
Default date: use the default date properties to set the date initially shown by the widget. Because this is only a default date, someone can always choose a different date from the date picker’s calendar. The default date options are:
- Minimum date in range: the earliest date of a record in the data source for the widget.
- Maximum date in range: the most recent date of a record in the data source for the widget.
- Today: the date that someone views the dashboard.
- No default – empty: no date is shown.
- Past date relative to today: the date that someone views the dashboard minus a number of days, weeks, months or years that you set.
- Future date relative to today: the date that someone views the dashboard plus a number of days, weeks, months or years that you set.
Date format: you can choose from a range of different date formats. Options include standard date formats, as well as the day of the week, month of the year, week of the year and many others.