How Zoomdata Handles Time
If your data source contains one or more time-based attribute, you can visualize and explore your data using time as an attribute.
When creating a connection to your data source, you can configure the time fields settings as well as define the time settings in global default settings . These include selecting the time attribute based on which your charts are built, applying a time zone label, and enabling or disabling playback, live mode, and delay mode for live data sources.
Live mode presupposes playing data from current moment on, while playback provides you with possibility to play data for the selected period. Live mode is enabled by default for live streaming sources.
For other sources, Zoomdata checks if a playable time field is available. A time field is defined as playable when a partition, index, or sort key is present (depending on the data source). A playable time field must have some type of granularity (day, hour, minute, or second) for the playback to be supported. Keep in mind that you can enable live mode only if playback is enabled
You can also manage the time settings on the chart and
Managing the time settings on the chart level
The ability to stream or play through historical data as if they were coming in real-time is a unique ability in Zoomdata. When you create a chart with time attributes, the chart canvas displays two time-based tools:
- The Time Bar menu item lets you select the time attribute to be used in the chart, as well as enable the time player.
- The time bar along the bottom of the chart canvas lets you set and manipulate the time range for your dashboard.
The following live streaming sources have the time player enabled by default:
- Upload API
- Real Time Sales demo source
For historical sources, the time player is not enabled by default but your administrator can set the default parameters for the time player .
When available and set up by your administrator, the time zone labels are displayed in the time bar as well as in appropriate menus.
Exploring your Time-Based Data
The time player lets you explore time in a variety of ways - from zooming into a specific timeframe to zooming out to a wider time range. The time player also lets you rewind the data view to a previous point in time and then fast forward to the most current time period available in the dataset.
The Time Bar Tool
The Time Bar tool lists all the time-based attributes available in your data source. Selecting a time attribute from this pane sets the group-by for your chart.
You can also Enable Playback which enables or disables the Play button on the time player. Playback mode is available if the Time field in your data set has the playable parameter which is set to True and the granularity of the field is not greater than day.
1. If the field in the data source is indexed or partitioned.
For Impala data sources, also possible if the selected field has connection to the partitioned field.
2. In RedShift, if it is the first sort key.
You can select the time-based attribute to use for your dashboard. This tool serves the same purpose as the Global Default Settings at the level of your data source.
- Time attribute - displays a list of available time-based attributes in your data source.
- Start Range (From value) - the default value is Min value in your dataset.
- End Range (To value) - the default value is Max value in your dataset.
- Wings: Start and End Selection options -allows you to select a start and end within your timeframe.
- Time window with From and To handles - controls the speed of your time.
For live sources, the following time controls are also available:
- Play/pause - displays whenever playback is enabled for the data source.
Time player speed
- you can set the speed that the time player moves through your dataset, including:
- 1 second of data per second of time
- 1 minute's worth of data per second of time
- 1 hour's worth of data per second of time
1 day's worth of data per second of time
When the time bar is running, an animated indicator is used to show data being played on the chart. It is possible to disable the animated indicator (via a user with admin rights in Zoomdata). Refer to the article Configuring Key and Value Settings for more information.
- Pin Start Time - locks the start time; when enabled along with playback, the time window aggregates from your pinned starting point.
The time player lets you manipulate the time in your data in a variety of ways:
- You can use the Start and End points in your time bar to quickly expand or reduce the time range that is shown in the chart. You can also edit the start and end times to see a more granular level of time data.
- By editing the Start Range (Min value) and/or End Range (Max value), you are filtering the time range that will be available for the chart; in essence, this filter lets you customize the time range for your dashboard.
Keep in mind that the Start Time and End Time panes differ from the Start Range and End Range filter panes.
The Filters Start and End Range Panes
The Filter Range let you customize the date and time parameters in the following ways:
- Selecting a specific start and/or end timeframe
- Choosing a predefined time preset
- Setting a dynamic time
Specific Start / End Timeframe
To set a specific timeframe, do the following:
- Select either the start or end range on the time player.
Edit the date and/or time parameters:
- For the date field, there are three tabs to help you select the ‘Year’, ‘Month’ and ‘Day’.
- For the time field, you can specify the hour, minutes and seconds as well as time of day.
- Select Apply to make your changes.
Predefined Time Preset
For steps and information about filers, see Applying Filters.
Dynamic Time provides flexibility in setting your start and end times, and gives you the flexibility to set relative timeframes. For example, the sales team accessing a chart showing the current week’s sales results.
Setting a Dynamic Time lets you or other users explore and interact with datasets within a targeted timeframe. The Dynamic Time option is accessed by selecting the Date icon for both the start and end ranges.
Dynamic time options include:
- Start/End of Data Set
- Start/End of a timeframe
Dynamic Time offers an offset option for greater control over the relative timeframe you are setting. For example, the sales team wants to view the weekly sales results, but from Tuesday through Friday only. The purpose of the offset is to provide more flexibility for the starting and/or ending range of the chart. The result of your offset setting is displayed under the Selected Range (Dynamic) label.
Besides the filters you have configured, the time attribute that is used for the time bar is displayed in the Active Filters section.
Was this topic helpful?