logo-wall

更新时间:
复制 MD 格式

Configure the background color, animation, layout, and icons of the logo wall widget.

Chart style

The logo wall is a material widget that displays multiple logo icons on a dashboard. You can customize the background color, animation effect, and display icons. image.png

Style Panel image.png

  • Search Configuration: Click the Search configuration items icon imagein the upper-right corner of the Style panel. In the Search Configuration panel, enter the name of the configuration items that you want to search for and locate the configuration items. Fuzzy match is supported. For more information, see Search configuration items.

    • Size: the width and height of the widget. Unit: pixels.

    • Positioning: the x-axis and y-axis of the component. Unit: pixels. X-coordinate indicates the pixel distance between the upper-left corner of the widget and the left border of the canvas. Y-coordinate indicates the pixel distance between the upper-left corner of the widget and the upper border of the canvas.

    • Rotate: The widget is rotated around the center of the widget. Unit: degrees.

      • Directly enter the degrees in the Rotation Angle spin box or click the plus sign (+) or minus sign (-) to increase or decrease the value in the Rotation Angle spin box.

      • Click the imageicon to flip the widget style.

      • Click the imageicon to flip the widget style.

    • Opacity: Valid values: 0 to 1. If this parameter is set to 0, the widget is hidden. If this parameter is set to 1, the widget is completely displayed. Default value: 1.

  • Global level

    Parameter

    Description

    Fillet Radius

    The fillet radius of each logo.

    Border thickness

    The border thickness of each logo.

    Border Color

    The border color of each logo. For more information, see the color picker description.

    Filling Method

    The fill mode of the logo. The following methods are available: Default, Padding, and Stretch to Fill Container.

    Number of rows

    The number of rows in the logo wall.

    Number of Columns

    The number of columns in the logo wall.

    Label Column Spacing

    The column spacing between logos.

    Label Row Spacing

    The row spacing between logos.

  • Animation: When the logo wall has multiple pages, these settings control the page carousel animation.

    Parameter

    Description

    Automatic carousel

    When enabled, logo wall pages cycle automatically.

    Pause

    The display duration of each page during the carousel. Unit: seconds.

  • Dot: The dot style below the carousel pages. Click the 眼睛图标icon to hide the dots.

    Parameter

    Description

    Dot Color

    The color of all the dots.

    Current Color

    The color of the dot on the current page.

    Dot Size

    The size of the dot.

    Dot Spacing

    The spacing between dots.

    Vertical offset value

    The vertical distance between the dots and the page. Negative numbers move down, positive numbers move down.

  • Background Color: The background color of each logo. Click the imageor imageicon to add or remove a background color. Click the imageor imageicon to configure the arrangement style of multiple background colors. Click the imageicon to copy the currently selected background color configuration and add a new background color.

    Note

    If you add multiple background colors, DataV distributes the colors evenly across logos.

Data Sources panel image.png

value: The URL of each logo icon. The URL must support cross-origin access. We recommend that you specify the HTTP or HTTPS protocol.

Important

If the dashboard is accessed over HTTPS and a logo URL uses HTTP, DataV cannot load the logo and the icon is not displayed.

Configure data items

Notes

DataSource

Use the code editor or visual editor to view the data fields of the widget. You can also change the Data Type to configure the component data.

Data Mapping

To customize chart field configurations, set different field mappings in the Data Mapping module to map content to the corresponding widget fields. This allows you to match data without modifying the data source fields. You can also click the imageicon to configure the field style.

Configure a filter

Turn on Filter, select an existing data filter or create a data filter, and configure a data filter script to filter data. For more information, see Manage data filters.

Data Response Result

The Data Response Result section displays widget data in real time. If the data source changes, this section shows the latest data. If the response is delayed, click the imageicon to view the data response result. Click the imageicon to obtain the latest data. You can also click View Example to view a sample response result.

Forbid Loading

When selected, loaded content is hidden during component initialization when you update and preview the dashboard. By default, this option is cleared.

Controlled Mode

When selected, the component does not request data during initialization. Data is requested only through global variables or methods configured in Blueprint Editor. When cleared, automatic data updates are used. By default, this option is cleared.

Auto Data Request

Select the check box and enter a polling interval to enable dynamic data polling. When cleared, the page does not update automatically. You must manually refresh the page or use Blueprint Editor and global variable events to trigger data updates.

Advanced Panel

This widget does not support interaction events.

Blueprint Interaction

  1. Click the imageicon in the upper-left corner to go to the Blueprint page.

  2. On the Layer Nodes tab, add the widget to the main canvas.

  3. View blueprint configuration parameters. image.png

    • Event

      Event

      Notes

      When the data interface request is completed

      This event is triggered with the processed JSON data after a data interface request is responded to and processed by a filter. For specific data examples, see the Data Response Result section of the Data Source tab in the right-side configuration panel of the canvas editor.

    • Action

      Action

      Notes

      Request Data Interface

      Requests server data again. The data sent by an upstream data processing node or layer node is used as a parameter. For example, if the logo wall API data source is https://api.test and the data transferred to the request data interface is { id: '1'}, the final request interface is https://api.test?id=1.

      Import data

      Imports data that has been processed in the widget's drawing format for redrawing, without requesting server data again. For specific data examples, see the Data Response Result section of the Data Source tab in the right-side configuration panel of the canvas editor.

      Move

      Move a widget to a specified location. For more information, see the data example.

          {
            // The positioning type. to indicates absolute positioning, whereas by indicates relative positioning. The default value is to. 
              "positionType": "to",
            // The location, which is indicated by the x and y coordinates. 
            "attr": {
              "x": 0,
              "y": 0
            },
            // The animation type. 
            "animation": {
              "enable": false,
              // The duration in which animation is displayed. 
              "animationDuration": 1000,
              // The animation curve, which can be set to linear|easeInOutQuad|easeInOutExpo. 
              "animationEasing": "linear"
            }
          }

      Switch Display /Display

      Toggles whether the widget is displayed or hidden. No parameters are required.

      Display

      Display the widget. For more information, see Data example.

      {
        "animationType": "",// The animation method. Valid value: fade. If you do not set this parameter, no animation is available. 
        "animationDuration": 1000,// The animation delay. Unit: ms. 
        "animationEasing": ""// animation curve
      }

      Hide

      Hide the component. For more information, see Data example.

      {
        "animationType": "",// The animation method. Valid value: fade. If you do not set this parameter, no animation is available. 
        "animationDuration": 1000,// The animation delay. Unit: ms. 
        "animationEasing": ""// animation curve
      }

      Update component configurations

      Dynamically updates the style configurations of the widget. In the Style panel, click Copy Configuration to Clipboard to obtain the configuration data. Then, modify the style field for the data processing node in Blueprint Editor.