Skip to main content

Stats


The "Stats" component lets you easily illustrate "statistical data" with a graph-style icon (available in different visuals). Moreover, the component comes with a text label option to provide extra information about the data.

To set the "Stats"!

You can use the following syntax in the onClick of another component (such as a Button) to set the stats.

onClick
setBindParams("stats", { content: "List", rate: "10%", direction: "up", description: "Last one Month" })

Result

Stats

Stats Properties

PropertyDescription
TitleThis text will be set as the title for the component.
WidthChanges the width of the widget.
IconChoose between the available icon options.

Stats

API Methods

setVisibility

Sets the Visibility flag for this component.

setVisibility(visible: boolean): void

setVisibilityCondition

Sets the visibility condition for this component.

setVisibilityCondition(condition: string): void