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.
Use the sidebar to configure the date picker widget
Select the date picker widget to display the settings in the sidebar. These settings include:
Use the General properties of the sidebar to add descriptive information for your date picker widget. You can also:
- Choose whether the title of the widget should be displayed. If you enable this, then you can provide a title and icon for the widget and specify the font size, font color and text alignment.
- Choose whether a subtitle for the widget should be displayed. If you enable this, then you can add a subtitle for the widget and specify the font size, font color and text alignment.
- Specify the widget width within the section where it appears.
- Choose the background and border color for the widget.
Here you can add static informational content which will appear below the title of the widget. This can include text, images, tables, links and other common content tools.
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.
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.
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.