Search

User Manual

GETTING STARTED


MODULES AND PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


GLOSSARY


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support
SDK Documentation
SDK Examples

ALL MANUAL VERSIONS

Ignition 8.1
Ignition 7.9
Ignition 7.8

Deprecated Pages

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to remove vision stuff


Panel
titleGeneral

Component Palette Icon:





Panel
borderStylesolid
titleDescription

The Label is one of the most versatile components. It can display text, images, or both. Labels are one of the most common components that you will want to add dynamic properties to. For instance, you can put an integer dynamic property of state on a Label, and then use an expression binding to bind the text to be "On" when the state=1 and "Off" otherwise. Bind the background color to be red when the state is 0, and green when the state is 1 using a property binding. Now you have a re-usable binary state indicator. While you could also use the Multi-State Indicator to achieve the same effect, the exercise is good practice for creating custom components. You can see how the flexibility of bindings and dynamic properties make the Label extremely versatile.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. 



Panel
titleProperties


Perspective_property



NameDescriptionProperty Type
textText to display.value: string
alignVerticalVertical alignment of the text withing the component (top, center, or bottom), based on the dimensions of the component. Default is top.value: string dropdown
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




Info
iconfalse
titlePerspective 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.



Panel
titleExample

PropertyValueStyle Category
props.text

(Expression Binding)

Code Block
"The time is : "+dateformat(now(),"h:mm a")


N/A
props.style.borderStylegrooveborder
props.style.padding12pxmargin and padding