Skip to main content

Bstate

Specifies the button's behavior responding to specific datapoint states values.

Attributes

Datapoint

Value

The value of the datapoint that identifies the state.

Attribute Values
ValueDescription
<string>The value.

Layout

Custom Color

Specifies the button's custom color.

Attribute Values
ValueDescription
<html color>Any valid HTML color.

Label

Specifies the button's label.

Attribute Values
ValueDescription
<string>Button's label.

Description

Specifies a description displayed below the label.

Attribute Values
ValueDescription
<string>Button's description.

Tooltip

A text displayed when hovering over the object, commonly used to display additional information.

Attribute Values
ValueDescriptionExample
<string>Text to be displayed.Set phasers to stun

Icon

Icon

Specifies an icon to display. Its position is set with the "Icon Position" attribute.

Attribute Values
ValueDescription
<icon>An icon or image.

Icon Color

Specifies the icon's color.

Attribute Values
ValueDescriptionExample
<html color>Color in any html accepted format.#ff0000

Label

Font Family

Specifies the font family.

The default value is: default.

Font Size

Specifies the font size in pixels or percentage (relative to the project's font size).

The default value is: 14.

Attribute Values
ValueDescriptionExample
<integer>Font size in pixels.
<percentage>%Relative font size in percentage.90%

Font Color

Specifies the text CSS color.

Attribute Values
ValueDescriptionExample
<html color>Color in any html accepted format.#ff0000

Font Weight

Specifies the weight of the font.

The default value is: normal.

Attribute Values
ValueDescription
normalDefault value. Normal.
boldBold.
bolderBolder.
lighterLighter.

Italic

Show the text in italics.

The default value is: false.

Attribute Values
ValueDescription
falseDefault value. Normal.
trueItalics.

Small Caps

Sets the font to small caps.

The default value is: false.

Attribute Values
ValueDescription
falseDefault value. Normal.
trueSmall caps.

Decoration

Specifies the text decoration.

The default value is: none.

Attribute Values
ValueDescription
noneDefault value. No decoration.
underlineUnderline.
overlineOverline.
line-throughLine through.

Text Align

Sets the horizontal alignment of the text.

The default value is: none.

Attribute Values
ValueDescription
noneDefault value. No alignment.
leftLeft alignment.
rightRight alignment.
centerCenter alignment.
justifyJustified alignment.

Line Height

Sets the line height of the text.

The default value is: 1.0.

Attribute Values
ValueDescription
<float>Specify the line height as a multiple of the font size.