Date Selection

更新时间: 2026-06-23 15:05:21

A date selection is an interactive widget that lets you customize the size, color, text style, and query conditions of a date picker. You can use it with other widgets to filter and display data in visual charts.

Prerequisites

A data dashboard is created. For more information, see Create a Data Visualization Screen.

Effect

日期选择器-效果图.gif

Add a Date Selection

On the dashboard edit page, click Interactive in the top navigation bar to add a date selection. image.png

Data Configuration

In the data configuration section, you can configure query parameters, configure query conditions, and bind parameters to effective layers.

Configure Query Parameters

Drag a date field from a dataset to the date selection. The supported date granularities are year, quarter, month, or day. Only one dimension can be used.

image.png

Configure Query Conditions

You can configure Time Range, Filter Method, and Default Value as shown below:

image.png

  1. Set Time Filter Range: You can specify a time range to filter. You can select Start At, End At, or Time Interval. The following example shows how to set the time interval to 2020 to 2023. image.pngWhen you click the date selection, the time range that can be selected is from 2020 to 2023. The configuration effect is as follows: image.png

  2. Filter By: You can specify a time range or a time interval.

    1. Single time: image.png

    2. yearInterval (Start at, End at, and Time Interval are supported. Shortcut Interval is not supported.) image.png

  3. Default value:

    1. Single Time: image.png

    2. yearInterval: image.png

Style Settings

Location and Size

Configure the following layout properties:

  • Alignment: Set left, center, or right alignment.

  • Position: Set the X and Y values to move the widget relative to the upper-left corner.

  • Rotation: Set the rotation angle.

  • Size: Set W and H to adjust the width and height.

  • Lock: Prevent the widget from being moved or resized.

image.png

Text Style

Configure the following text and appearance properties:

  • Font: Set the font family, color, size, bold, and italic properties.

  • Background: Set the background fill color.

  • Border: Set the border style, color, and width.

  • Corner radius: Set the border corner radius.

image.png

上一篇: Group button 下一篇: Add Materials
阿里云首页 智能商业分析 Quick BI 相关技术圈