Skip to main content
Version: 4.0

State

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.

Style​

Color​

Specifies the button color.

The default value is: default.

Attribute Values​
ValueDescription
defaultDefault value. Default color.
primaryPrimary color, used to highlight action buttons.
warningWarning color, used to highlight warning buttons.
successSuccess color, used to highlight success buttons.
errorError color, used to highlight error buttons.
lightLight color.
darkDark color.
red,blue,yellow,green,yellow,purple,orange,greenPalette colors.
customCustom color, defined in the "Custom Color" attribute.

Custom Color​

Specifies the button's custom color.

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

Look​

Specifies the button's look.

The default value is: filled.

Attribute Values​
ValueDescription
filledDefault value. Filled look, with a solid background.
clearClear look, no background or border.
outlinedOutlined look, with a solid border.
glassGlass look, with a semi-transparent background.

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.

Decoration​

Specifies the text decoration.

The default value is: none.

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