User Manual

GETTING STARTED


OTHER EDITIONS


LAUNCHERS


MODULES


PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support

ALL USER MANUAL VERSIONS

Ignition 8.1. Offline Version (04/2021)
Ignition 8 Online Version
Ignition 7.9 Online Version
Ignition 7.8 Online Version

Deprecated Pages

SDK Documentation

Employees

Sign In

Skip to end of metadata
Go to start of metadata


Component Palette Icon:


On this page ...


The Label component displays text and can be customized with a full menu of style options for the appearance of text, background, border, color, etc. You can use bindings to display additional information on the Label component. 


Properties

Most Properties have binding options. For more information on Bindings, see Types of Bindings in Perspective.
This section only documents the Props Category of properties. The other Categories are described on the Perspective Component Properties page.

NameDescriptionProperty Type
textText to display.value: string
alignVertical

Vertical alignment of the text within the component (top, center, or bottom), based on the dimensions of the component. Default is top.

value: string
textStyle

The following feature is new in Ignition version 8.1.11
Click here to check out the other new features
Sets a style for the text within this label. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class.

object
styleSets a style for this component.   Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class.object


Component Events

Perspective Component Events
The Perspective Event Types Reference page describes all the possible component event types for Perspective components. Not all component events support each Perspective component. The Component Events and Actions page shows how to configure events and actions on a Perspective component. Component scripting is handled separately and can be accessed from the Component menubar or by right clicking on the component.


Examples

Example 1

PropertyValue
props.text

(Expression Binding)

"The time is : "+dateformat(now(),"h:mm a")
props.style.borderStylegroove
props.style.padding12px

Example 2

PropertyValue
props.textLorem ipsum dolor sit amet, consectetur adipiscing elit.
props.textStyle.overflowhidden
props.textStyle.whiteSpacenowrap
props.textStyle.textOverflowellipsis
props.style.borderStyledouble


  • No labels