Skip to main content

Text

The text component displays the specified content in text form.This article introduces the detailed configuration method of the text component.

text.jpg

Private Properties​

Parameters
Description
Default value
Data SourceConfigurable data sourcesText
BG Color#ffffff

Text Style​

Parameters
Description
Default value
SizeOptional value: 12~7212
Color#000000
ThicknessOptional values: Standard, BoldStandard
Horiz AlignOptional values: Left, Center, RightLeft
MarginHorizontal alignment margins, not displayed when centered0
Vert AlignOptional values: Top, Center, BottomCenter

Node​

Parameters
Description
Default value
WidthOverall width152
HeightOverall height40
XHorizontal coordinate—
YVertical coordinate—

Application Examples​

When developing Web visualization applications, use the Text component to set the page title.

text_demo


FAQ​

1. How to set the background of the text component dragged onto the canvas to be transparent?​

Normally, we only need to set the font color for the text component without setting the background color, so the background transparency can be adjusted to 0. text_demo