Group button

更新时间:
复制 MD 格式

A group button is an interactive widget that lets you customize the color, size, label content, and background of a list in various states. You can pair a group button with other widgets to display configured content in a visual chart. This topic uses the interaction between a group button and a ticker board as an example.

Prerequisites

Effect

3.gif

Add a group button control

  1. On the dashboard edit page, click Interaction in the top navigation bar to add a group button control. 添加平铺按钮

  2. Click Select Dataset and follow the instructions in the following figure to add data as the parameter source and bind the layer controlled by the parameter. The updated interaction diagram is as follows: 交互

The following data operations are also available: 字段设置

Group Button Style Configuration

Location and size

Configure the following location and size settings:

  • Alignment: left, center, or right.

  • Position: set the X and Y values, using the upper-left corner as the origin.

  • Rotation angle: set the rotation angle of the widget.

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

  • Lock: prevents further changes to the size and position of the widget.

大小和位置

Tile Layout

Configure the following tile layout settings:

  • Horizontal alignment: left, center, or right.

  • Button layout: adjust the spacing and width of buttons.

平铺布局

Default button state

Configure the following default button style settings:

  • Font style: set the font, color, font size, bold, and italic properties.

  • Background: set the background fill color.

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

  • Corner radius: set the corner radius of the border.

默认按钮状态

Selected Status

Configure the following selected button style settings:

  • Font style: set the font, color, font size, bold, and italic properties.

  • Background: set the background fill color.

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

  • Corner radius: set the corner radius of the border.

平铺按钮选中状态

Carousel playback is supported.

Configure the carousel rotation and time interval for the group button. 效果图

Feature

Set the dimension value for the group button. 功能