All Products
Search
Document Center

Quick BI:Icon

Last Updated:Jan 25, 2024

A button is a type of interactive widget. You can customize the color, size, label content, and jump link of a button in multiple states. You can use this widget to display the link page or prompt information in a visual chart. This topic describes how to add and manage a button widget.

Prerequisites

A data dashboard is created. For more information, see create a Visualization Screen task.

Add Button Control

On the dashboard edit page, click Interactive in the top navigation bar to add a button.

image.png

Layer Events

You can configure the widget text in the configuration section as follows:

  • Set Click to Switch Overlay Layer: You can place the button and the switchable object (layer group with layer overlay enabled) in the same layer level. You can associate the button with the layer that you click to switch in the drop-down list. 切换叠加图层

    Effect drawing: 效果图

  • Set Click Pop-up Layer: You can select the object that pops up after you click the button in the drop-down box. The pop-up object must be a layer or layer group on the layer root node. 点击弹出图层

    Effect drawing: 效果图

  • Set the click jump page:

    • Internal: supports redirection of internal overlay pages.

      image.png

      Effect drawing: 效果图

    • External: You can insert external links. Open in pop-up window, new window, or current window. 新窗口

      • Pop window effect drawing

        image.png

        New window renderings 效果图

        The current window renderings 效果图

Button Style Configuration

Location and size

You can configure the components in the configuration section as follows:

  • Adjust the alignment of components: supports left alignment, center alignment, and right alignment.

  • Adjust the size of the widget: Use the upper-left corner as the origin, set the values of the X and Y axes, and adjust the position.

  • Adjust the angle of the widget: Set the value of the rotation angle.

  • Resize the widget: Set the values of W and H to adjust the width and height of the widget.

  • Lock the component: After locking the component, you will not be able to adjust the size and position of the component.

位置和大小

Text Style

You can configure the widget text in the configuration section as follows:

  • Adjust the font style of the widget text: You can set the font, color, font size, bold, and oblique text.

  • Adjust the background of a widget: You can set the background fill color of a widget.

  • Adjust the border of a widget: You can set the style, color, and width of the widget border.

  • Adjust the corner radius of a widget: You can set the corner radius of the widget border.

文本样式

Selected Status

In the configuration section, you can set the selected button as follows:

  • Adjust the font style of the selected button: You can set the font, color, font size, bold, and tilt of the text.

  • Adjust the background of the selected button: You can set the background fill color of the widget.

  • Adjust the border of the selected button: You can set the style, color, and width of the widget border.

  • Adjust the corner radius of the selected button: You can set the corner radius of the widget border.

选中状态

Effect diagram 效果图