This article describes how to insert a date control on a page:
Requirements
A Displayr document.
Method
- From the toolbar, go to Control
> Date.
- Click on the page to place the control.
- OPTIONAL: You can have the date default to a specific date by selecting a date Calculation in Object Inspector
> Control > Default date from R Output. You can read more about setting up an R calculation that displays the date and time at How to Use R Code to Show the Date and Time.
- OPTIONAL: Enter text, such as "Select a date", in Object Inspector
> Control > Tooltip to show a message to the user using the date control:
-
OPTIONAL: You can customize the appearance of the control by adjusting the font settings, colors, and borders from the Control menu:
- OPTIONAL: You can hook up your Date Control (or two Date Controls for a start and end date range) to an R filter to filter outputs in your dashboard, see How to Work with Date Ranges Using R.
Next
How to Work with Date Ranges Using R
How to Work with Aggregated Dates Using R
How to Easily Convert Strings to Times and Dates in R with flipTime
How to Use R Code to Show the Date and Time
How to Build Tables that Automatically Filter to the Latest Periods