Skip to main content

Feature Overview

My VisBoard

On the My VisBoard page, you can perform the following operations:

image-20210825210331456

Creating VisBoard

  1. Log in to the Guanyun Platform.

  2. In the left navigation bar, select All Apps, then choose VisBoard from the pop-up lite applications list.

  3. On the My VisBoard page, Click Create.

    image-20210825210331456

  4. Select a suitable template and click Create.

    image-20210825210331456

  5. In the pop-up dialog, enter the VisBoard name and Click OK.

    image-20210825210331456

  6. After successful creation, you will be redirected to the VisBoard editing page.

  7. Click on the target component in the component list to add it to the canvas area. Dragging the component achieves the same effect. Different components will be located in different layers.

    image-20210825210331456

  8. Next, you can perform layer management in the left layer panel, and configure component styles, component data, and component interactions in the right component configuration panel. For details, please refer to the Component Guide.

    image-20210825210331456

    image-20210825210331456

    image-20210825210331456

  9. Click the save icon in the top toolbar to complete the VisBoard configuration.

    image-20210825210331456

Editing VisBoard

  1. Log in to the Guanyun Platform.

  2. In the left navigation bar, select All Apps, then choose VisBoard from the pop-up lite applications list.

  3. On the "My VisBoard" page, select a VisBoard and click the Edit icon.

    image-20210825210331456

  4. On the VisBoard editing page, modify the component layout and configuration, or add/delete components. For details, see Visual Editing.

After editing, you can preview the VisBoard to check the effect.

Copying VisBoard

Using the VisBoard copy function, you can create similar VisBoards based on an existing one, or use it as a development/test environment for modifications and updates without affecting the production VisBoard.

  1. Log in to the Guanyun Platform.

  2. In the left navigation bar, select All Apps, then choose VisBoard from the pop-up lite applications list.

  3. On the "My VisBoard" page, select a VisBoard and click the Copy icon.

    image-20210825210331456

After successful copying, the system automatically generates a VisBoard with the same name. You can rename it and continue to adjust the layout and configuration.

Previewing VisBoard

On the "My VisBoard" page, select a VisBoard and click Preview to preview the VisBoard. After previewing and confirming the effect, you can publish the VisBoard to the online environment for others to view online.

image-20210825210331456

Publishing VisBoard

The publish function provides two ways to share the VisBoard:

  • Public Sharing (Default)

  • Encrypted Sharing

  1. On the "My VisBoard" page, select a VisBoard and click the Publish icon.

    image-20210825210331456

  2. In the pop-up dialog, configure whether to enable encrypted sharing and the validity period.

    • After enabling encrypted sharing, an 8-digit random password is generated by default. You can also set one manually. Click the Refresh icon on the right to regenerate a random password.

      image-20210825210331456

    • Set the validity period of the sharing. The default sharing validity period is 1 day. You can set it according to your needs. If you want to share permanently, you can set the validity period value very large, such as 10000.

  3. Click OK.

After successful publication, the lower right corner of the VisBoard displays "Published". Click the Publish icon again to copy the sharing link and send it to others. If encrypted sharing is enabled, the recipient can access the VisBoard by entering the random password. Click Unpublish to immediately cancel the publication.

image-20210825210331456

Sharing VisBoard

  1. On the "My VisBoard" page, select a VisBoard and click the Share icon.

    image-20210825210331456

  2. In the pop-up "Share" dialog, select the sub-account and read/write permissions.

    You can enter keywords in the sub-account selection box to filter. If Read-only is selected, the recipient can only view the VisBoard; if Edit is selected, the recipient can modify the VisBoard.

    image-20210825210331456

  3. Click OK.

Exporting VisBoard

On the "My VisBoard" page, select a VisBoard and click the Export icon to export it as a ZIP package.

image-20210825210331456

Importing VisBoard

On the "My VisBoard" page, click Import VisBoard in the upper right corner, then select the previously exported VisBoard ZIP file.

Deleting VisBoard

On the "My VisBoard" page, select a VisBoard and click the Delete icon to delete it.

image-20210825210331456

My Data

On the "My Data" page, you can perform the following operations:

  • Add Data Source

    • CSV
    • Database

      • MySQL

      • PostgreSQL

      • DM

    • Tingyun
  • Edit Data Source
  • Delete Data Source

image-20210825210331456

Adding CSV File

  1. On the "My Data" page, click Add Data Source in the upper left corner.

  2. From the Type drop-down list, select CSV.

    image-20210825210331456

  3. Enter the name and description, then upload the CSV file. After uploading, the path of the CSV file is displayed in the text box above.

  4. Click OK.

Adding Database

  1. On the "My Data" page, click Add Data Source in the upper left corner.

  2. From the Type drop-down list, select Database.

    image-20210825210331456

  3. Fill in the database information.

    image-20210825210331456

  4. Click Test Connection to verify the connection.

    image-20210825210331456

  5. Click OK.

Adding Tingyun Data Source

  1. On the "My Data" page, click Add Data Source in the upper left corner.

  2. From the Type drop-down list, select Tingyun.

  3. From the Request Method drop-down list, select GET or POST.

  4. In the "Request Address" text box, fill in the interface that needs to be requested.

  5. According to the different request methods you choose, fill in the corresponding request parameter values in the "Request Parameters" and "Request Body" below.

    image-20210825210331456

  6. Click OK.

Editing Data Source

On the "My Data" page, click the "Edit" icon in the "Operation" column to modify the data source information.

image-20210825210331456

Deleting Data Source

On the "My Data" page, click the "Delete" icon in the "Operation" column to delete the current data source.

image-20210825210331456

Visual Editing

Editor Overview

image-20210825210331456

image-20210825210331456

  1. Top Toolbar

  2. Layer Panel

  3. Component List

  4. Canvas

  5. Page Configuration (Grid spacing is the minimum movement unit of components on the page)

  6. Bottom Toolbar

  7. Component Configuration Panel

    1. Style Configuration

    2. Data Configuration

    3. Interaction Configuration

Canvas Editing

Adding Components

In the canvas editor, you can add components in the following two ways:

  • Hold down the mouse and drag the component directly to the canvas.

  • Click the component directly.

    image-20210825210331456

Selecting Components

  • Click the component to select it, hold down the Shift key to add selection.

  • Directly drag to select single or multiple components.

    image-20210825210331456

Modifying Basic Properties of Components

image-20210825210331456

image-20210825210331456

  1. Translation

  2. Scaling

  3. Rotation

Using Rulers

The canvas provides a ruler line function.

  • Move the mouse to the left or top ruler, hold down the mouse and drag directly to the canvas to generate a ruler line.

    image-20210825210331456

  • Hold down the ruler line and drag it outside the canvas to delete a ruler line.

  • Dragging a component can snap to the ruler line.

Canvas Zooming and Panning

  • Modify the canvas display ratio through the bottom toolbar (the canvas ratio will adapt when the page layout changes).

    image-20210825210331456

  • When the canvas is expanded and scroll bars appear, hold down the Spacebar to pan the canvas.

Favorite Components

Supports favoriting frequently used components that are configured.

image-20210825210331456

  • Right-click the component and select "Favorite" from the function list.

  • The favorited components will enter the left favorites menu. You can click or drag the components under the favorites menu to the right canvas for shared use.

  • When favoriting a component, the current component's configuration items (configuration properties, data items) are also favorited simultaneously.

  • Click the "Delete" button under the favorites menu to cancel the favorite.

    image-20210825210331456

Layer Management

Use the layer panel or right-click the component after selecting it on the canvas to operate layers.

Moving Layer

Click to select a layer, hold down the Ctrl key to select multiple layers. There are two ways to move layers:

  • Select a layer, click the "Bring to Front", "Send to Back", "Bring Forward" or "Send Backward" icons above the "Layer Bar" to adjust the layer where the component is located.

    image-20210825210331456

  • Right-click the component in the "Canvas", select "Bring to Front", "Send to Back", "Bring Forward" or "Send Backward" in the menu to also adjust the layer where the component is located.

    image-20210825210331456

Hiding Layer

There are two ways to hide layers:

  • In the layer panel, click the "Eye" icon to toggle the hidden and displayed state.

    image-20210825210331456

  • Right-click the component in the "Canvas", select "Hide", and the layer will be hidden. To display the layer, you need to select it in the layer panel.

    image-20210825210331456

Locking Layer

There are two ways to lock layers:

  • Hover the mouse over the layer, and a "Lock" icon will appear on the right. Click this icon to lock the layer. Click the lock icon again to unlock it.

    image-20210825210331456

  • Right-click the component in the "Canvas", select "Lock". To unlock the layer, you must select it in the "Layer Panel".

    image-20210825210331456

Grouping

There are two ways to group layers:

  • Select one or more layers, click the "Group" button below the "Layer Bar".

    image-20210825210331456

  • Select multiple components in the "Canvas" by dragging, right-click and select "Group".

    image-20210825210331456

Ungrouping

There are two ways to ungroup layers:

  • Select the grouped layer, click the "Ungroup" button below the "Layer Bar".

    image-20210825210331456

  • Select the grouped components in the canvas, right-click and select "Ungroup."

    image-20210825210331456

Renaming Layer

Double-click the layer name to enter edit mode, where you can edit the layer name.

image-20210825210331456

Deleting Layer

There are two ways to delete layers:

  • Select one or more layers, click the "Delete" button below the "Layer Bar".

    image-20210825210331456

  • Select one or more components in the "Canvas", right-click and select "Delete".

    image-20210825210331456

Copying Layer

There are two ways to copy layers:

  • Select one or more layers, click the "Copy" button below the "Layer Bar".

    image-20210825210331456

  • Select one or more components in the "Canvas", right-click and select "Copy".

    image-20210825210331456

Configuration Bar Introduction

Click any component in the canvas, and the component configuration bar will automatically pop up on the right side of the page, containing three panels: "Style", "Data", and "Interaction".

image-20210825210331456

  1. Style Configuration

  2. Data Configuration

  3. Interaction Configuration

Component Style

In the "Style" panel, you can configure the component's "Chart Size", "Chart Position", "Rotation Angle", "Opacity" and other attribute styles. Among them, "Chart Size", "Chart Position", "Rotation Angle" and "Opacity" apply to all components. For configuration methods, please refer to Basic Properties. Other attribute styles are different for each component and belong to private configurations. Please refer to the configuration instructions of each component.

image-20210825210331456

  1. Basic Properties
  2. Private Configuration
Basic Properties

In the "Interaction" panel, you can adjust the component's size, position, rotation angle, and opacity.

image-20210825210331456

  • Chart Size: Includes the width and height of the component, in px.
  • Chart Position: Includes the X-coordinate and Y-coordinate of the component, in px. The X-coordinate is the pixel distance from the upper left corner of the component to the left boundary of the page, and the Y-coordinate is the pixel distance from the upper left corner of the component to the upper boundary of the page.
  • Rotation Angle: Rotate around the center point of the component, in degrees deg.
    • Manually enter the angle value to control the rotation angle of the component.
    • Check the image-20210825210331456 icon to control the left-right flip style of the component.
    • Check the image-20210825210331456 icon to control the up-down flip style of the component.
  • Opacity: The value range is 0~1. When it is 0, the chart is hidden; when it is 1, the chart is fully displayed. The default is 1.

Component Data

In the "Data" panel, you can configure the data source, configure field mapping, configure data filters, etc. For details, please refer to Configuring Component Data.

Component Interaction

In the "Interaction" panel, you can configure interaction events between components. For details, please refer to Configuring Component Interaction.

Focus Management

Focus management can effectively improve the interactive operation of the VisBoard Pro product. Use Tab and Shift + Tab to quickly switch the cursor position.

Example One

  1. Select the component to focus the right configuration bar (click the configuration bar once).

  2. Press the Tab key, and the style configuration bar will be highlighted.

    image-20210825210331456

  3. Press the left and right keys to switch the focus.

    image-20210825210331456

Example Two

  1. Select the component and focus on the right configuration bar.

  2. Use Tab and Shift + Tab to switch form controls.

    image-20210825210331456

Example Three

  1. Select the component and focus on the accordion control.

    image-20210825210331456

  2. Press the spacebar to expand the panel.

    image-20210825210331456

Example Four

  1. Select the component and focus on the color control.

    image-20210825210331456

  2. Press the spacebar to open the color editor.

    image-20210825210331456

Example Five

  1. Focus on the title bar.

    image-20210825210331456

  2. Press the Tab key to observe the focus effect.

Configuring Component Data

Using Static Data

  1. Select the component in the canvas.

  2. In the "Data" panel of the right configuration bar, click "Configure Data Source".

    image-20210825210331456

  3. After modifying the static data value, you can see the data in the component change.

    image-20210825210331456

Using API Data

The following tutorial uses API data as an example to explain some basic concepts.

Using API Data Source

  1. Select the component in the canvas.

  2. In the "Data" panel of the right configuration bar, click "Configure Data Source".

  3. Select "API" from the data source list.

    image-20210825210331456

  4. Select the request method, fill in the API address and all request parameters.

    If there are cross-domain or token issues, you need to check "Initiate request from server".

    image-20210825210331456

  5. View the return result style of the data source at the "Data Response Result" below.

Field Mapping

Field mapping represents the mapping relationship between chart data and list data. Generally, the system can automatically match the categories and values in the data source to complete data mapping. If the data is complex, you need to manually enter fields to complete data mapping. After successful data mapping, the status column will automatically display Match Successful.

  1. Observe the fields required by the chart.

    image-20210825210331456

  2. Observe the returned data.

    image-20210825210331456

  3. Set the mapping relationship.

    image-20210825210331456

    image-20210825210331456

Data Series

The above data actually has two sets of values, with types Lon and Bor respectively. We need to set "Series Mapping" and specify the corresponding series value in the chart.

  1. In the "Data" panel of the right configuration bar, set series mapping.

    image-20210825210331456

  2. In the "Style" panel of the right configuration bar, click the "Data Column" area and set the name of Series 1 to Lon.

    image-20210825210331456

  3. Click the plus icon in the upper right corner to add a new series, and set the name of Series 2 to Bor.

    image-20210825210331456

  4. Observe the chart.

    image-20210825210331456

Controlled Mode

Controlled mode indicates whether the component requests the interface when loading initially.

  1. Enable "Controlled Mode" in the "Data" panel.

    image-20210825210331456

  2. Preview the VisBoard; the component does not render data.

    image-20210825210331456

Auto Request Update

Since the component uses controlled mode, you need to set "Auto Request Update" or "Interaction Events" to drive the component to re-render.

  1. In the "Data" panel, enable auto request update and set the time interval to 5s.

    image-20210825210331456

  2. Preview the VisBoard and wait for 5s to observe the component changes.

Using CSV Data

  1. Select the component in the canvas.

  2. In the "Data" panel of the right configuration bar, click "Configure Data Source".

  3. Select "CSV" from the data source list.

    image-20210825210331456

  4. Select a piece of data from the CSV data list (created from "My Data"), and you can view the data at the "Data Response Result" below.

Using Database

  1. Select the component in the canvas.

  2. In the "Data" panel of the right configuration bar, click "Configure Data Source".

  3. Select "Database" from the data source list.

    image-20210825210331456

  4. Select a piece of data from the database list (created from "My Data").

  5. Enter the SQL statement.

Using Tingyun Data Source

  1. Select the component in the canvas.

  2. In the "Data" panel of the right configuration bar, click "Configure Data Source".

  3. Select "Tingyun" from the data source list.

    image-20210825210331456

  4. Select a piece of data from the data list (created from "My Data").

Using Guanyun Data Source

  1. Configure the query statement in the "Multidimensional Exploration" of the Guanyun platform, and click "Advanced Mode".

    image-20210825210331456

  2. In the advanced mode, click the "Copy" button in the lower right corner to copy the statement.

    image-20210825210331456

  3. Select the component in the canvas.

  4. In the "Data" panel of the right configuration bar, click "Configure Data Source".

  5. Select "Guanyun" from the data source list.

  6. Paste the copied NBQL statement in the request parameters.

    image-20210825210331456

Data Filter

Adding Filter

In the "Configure Data Source" panel, click the add button at "Data Filter" to create a filter.

image-20210825210331456

Deleting Filter

Click the delete button to delete a filter.

image-20210825210331456

Writing Filter Function

Example: Take the first three pieces of data from the data list.

image-20210825210331456

Creating Multiple Filters

The VisBoard editor allows creating multiple filters. The data of the latter filter is the output value of the previous filter.

image-20210825210331456

Configuring Component Interaction

Interaction Events

One-to-One Interaction 1

The following uses ECharts bar chart and title two components as an example to introduce interaction configuration.

  1. Add "Echarts Bar Chart" and "Title" components, then select the ECharts bar chart.

    image-20210825210331456

  2. Configure interaction events in the "Interaction" panel.

    image-20210825210331456

  3. Process the data passed from the bar chart to the title component.

    image-20210825210331456

  4. Preview the VisBoard and observe the component changes.

One-to-One Interaction 2

Components can interact with themselves.

  1. Add a "Date Time" component.

    image-20210825210331456

  2. Enable timed callback in the style panel.

    image-20210825210331456

  3. Configure interaction events in the interaction panel.

    image-20210825210331456

  4. Preview the VisBoard and observe the component changes.

One-to-Many Interaction

  1. Add "Echarts Bar Chart" and two "Title" components.

    image-20210825210331456

  2. Add interaction events in the "Interaction" panel.

    image-20210825210331456

    Multiple identical components can be distinguished by id.

    image-20210825210331456

  3. Configure the second interaction event as toggle show/hide.

  4. Preview the VisBoard and observe the component changes.

Many-to-One Interaction

  1. Add "Echarts Bar Chart", "Echarts Line Chart" and "Title" components.

    image-20210825210331456

  2. Configure the linkage between the bar chart and the title, and the line chart and the title respectively.

    image-20210825210331456

    image-20210825210331456

  3. Preview the VisBoard and observe the component changes.

Auxiliary Interaction Components

Auxiliary interaction components have no conventional styles and are mainly used to assist other components in doing some interaction linkages. Select "Interaction" in the component list to view interaction components.

Timer

The "Timer" can achieve delayed timing, delayed loop timing, and fixed-point timing.

Usage scenarios:

  • Click a button to execute an action after a delay.

  • Execute an action when a certain time point is reached.

    image-20210825210331456

Configuration ItemDescription
Timing MethodSupports Delayed Timing and Fixed-point Timing.
Whether to LoopWhether to loop, only supports delayed timing, loops according to the Delay Interval configuration.
Delay IntervalCan set the interval and unit.
Fixed TimeValid when Fixed-point Timing is selected, set the specific time point.
EventDescription
When the timing point is reachedThrows an event when the timing point is reached.
ActionDescription
Start TimerStarts the timer.
Stop TimerStops the timer.

image-20210825210331456

Configuration ItemDescription
Link TypeFixed Value: Fixedly open a certain link. Dynamic Value: Dynamically open a certain link based on component data.
Link AddressThe link address of the jump page.
Variable NameThe object key passed to this component by the upstream component when dynamically opening a link.
Open in New WindowWhether to open the link in a new tab page.
Request ParametersRequest parameters on the link, support dynamic addition and deletion.
ActionDescription
Open PageOpens the configured link address.

WebSocket

image-20210825210331456

Configuration ItemDescription
Socket Service AddressThe socket backend service address, automatically filled by default according to the current environment.
UsernameCurrent username, automatically filled by default according to the current environment.
GroupGroup name; the grouping of two interactive VisBoards must be consistent.
Receive Message EventsConfigure receiving messages, support dynamic addition and deletion.
Send Message ActionsConfigure sending messages, support dynamic addition and deletion.

Events: Dynamically generated based on the receive message configuration.

Actions: Dynamically generated based on the send message configuration.

Terminal Interaction

Creating Control Center VisBoard

  1. Click Create Controller.

    image-20210825210331456

  2. In the pop-up dialog, enter the VisBoard name, select the device type and resolution, or manually input a custom device resolution.

    image-20210825210331456

  3. Click OK.

Previewing Control Center VisBoard

The preview page of the control center VisBoard is divided into two parts: the preview area on the left and the QR code scanning area on the right. You can also set the access password and validity period.

Note: Scanning the QR code for preview is only available after the screen is published.

image-20210825210331456

Setting Multi-Screen Interaction

User interaction requirement: Click the button group on the control center VisBoard to change the title of the main screen.

VisBoard establishes WebSocket services for different screens, associates the components that need to interact with the WebSocket component, thereby achieving linkage between the control center VisBoard and the main screen.

image-20210825210331456

Editing Control Center VisBoard

  1. Add a "Button Group" component and a "WebSocket" component.

    image-20210825210331456

  2. Change the WebSocket configuration. For the control center VisBoard, you need to set the "Send Message Action" of WebSocket.

    image-20210825210331456

  3. Set the selection event of the button group to associate with the WebSocket's send message action [Button Selected].

    image-20210825210331456

Editing Controlled VisBoard

  1. Add a "Title" component and a "WebSocket" component.

    image-20210825210331456

  2. Set the receive message event of the WebSocket component. The "Receive Message Name" must be consistent with the "Send Message Name" of the control end.

    image-20210825210331456

  3. Set the interaction event of the WebSocket component to associate with the "Import Data" of the title component.

    image-20210825210331456

Previewing Interaction

image-20210825210331456

Note: The WebSocket component is a pure interaction component and does not need to be displayed on the screen during preview. You can move the component outside the canvas in the editor.