Configure components
The dashboard component in a web visualization application lets you add and configure various sub-components to build dashboards. This topic describes how to add and configure these sub-components.
Add a component
-
Create a web application. For more information, see Create a web application.
-
In the web application editor, click the component icon
on the far left. -
In the search box above the component list to the left of the canvas, enter dashboard to find the component, and then drag it to the canvas.
-
On the Select Dashboard Template page, click Create Blank Dashboard or select a preset template, and then click OK.
-
In the Style pane on the right side of the web application editor, click Edit Dashboard.
After you finish developing in the dashboard editor and return to the workbench, the dashboard component automatically syncs the changes. If the component does not update, click the Refresh button in the upper-right corner of the thumbnail to refresh it.
-
On the canvas editor page, click the component list icon
in the upper-left corner to expand the Component List page.After you expand it, you can view the categories and counts for all components, including column chart, line chart, pie chart, scatter plot, and Others. You can also filter them by using the All Available Components drop-down list at the top.
-
On the Asset List page, click a component type icon in the navigation pane on the left, select a component, and add it to your visualization project.
This example uses a column chart component.
After the component is added, it automatically appears on the canvas. You can drag the border of the component to resize it. Click the component and drag it to adjust its position.
Configure basic component styles
In the dashboard component editor, clicking a component on the canvas displays its configuration panel on the right.
-
In the Basic Properties section, you can adjust the component's size, position, rotation angle, and opacity.
-
Chart Size: Includes the width and height of the component in pixels (px). You can click the
icon to lock the aspect ratio and resize the component proportionally. Click the icon again to unlock it, allowing you to change the width and height independently. -
Chart Position: Includes the x-coordinate and y-coordinate of the component in pixels (px). The x-coordinate is the distance from the upper-left corner of the component to the left edge of the page. The y-coordinate is the distance from the upper-left corner of the component to the top edge of the page.
-
Rotation Angle: Rotates the component around its center. The unit is degrees (°).
-
Enter an angle value to set the rotation angle.
-
Drag the black dot inside the
icon to set the rotation angle. -
Click the
icon to flip the component horizontally. -
Click the
icon to flip the component vertically.
-
-
Opacity: The value range is 0 to 1. A value of 0 hides the component, and a value of 1 makes it fully visible. The default value is 1.
-
-
Color picker: Use the color picker to set the font color, axis line color, grid line color, border color, and more. The following describes how to adjust text color in two ways.
-
Common color palettes: Click the color preview block next to the color value to open the Common Colors panel. This panel provides a grid of preset color blocks. Click a color block to apply it as the current text color.
-
Color Picker: Adjust the color transparency, add or remove global colors, and select recently used colors.
-
Adjust font color transparency: Drag the transparency slider or modify the A value to adjust the color transparency.
-
Add or remove global colors: In the color picker, select a color. Click + under Global Colors to add it as a global color. To delete a global color, hover over it and drag it outside the Global Colors area.
NoteColors selected from Global Colors can be used across the entire visualization project. They appear in the Recently Used section for all dashboards and components for easy reuse.
-
The Recently Used section automatically lists colors you have recently used. To reuse a color, click its color block to apply it.
-
-
Supported component list
|
Component type |
Component |
|
BI analysis |
Includes column chart, Nightingale rose chart, bar chart, percentage column chart, range column chart, waterfall chart, bubble chart, funnel chart, word cloud, gauge, percentage bar chart, line chart, pie chart, category rose chart, and radar chart. |
|
Charts |
Includes column chart, bar chart, line chart, area chart, pie chart, doughnut chart, scatter plot, radar chart, graph chart, and other types of charts. |
|
Maps |
Includes Basic Flat Map 3.0, 3D earth, Basic Flat Map, 3D Flat World Map, 3D Flat China Map, 3D Flat Map, 3D City, and 3D City Scene Builder. |
|
Information |
Includes Countdown, Business Metric Trend, General Title, Marquee, Word Cloud, Digital Flip Counter, Multi-line Text, QR Code, Status Card, Text Label, Timer, Double 11 Icon Ratio Chart, Koi Lottery List, Koi Lottery Flip Card, and Lottery Wheel. |
|
Tables |
Includes carousel list, key-value table, carousel list with column chart, and progress bar table. |
|
Controls |
Includes button, selection, input, data, and navigation controls. |
|
Media |
Includes ApsaraVideo Player, Arrow Annotation, Custom Background Block, Border, Decoration, EZVIZ Player, Icon, Logo Wall, Single Image, RTMP video stream player, Image Carousel, Decorative Strip, Video, and Color Block. |
|
Assets |
Includes videos, icons, embellishments, background images, background frames, decorative strips, and illustrations. |