Table of Contents
Active Graphic (ActiveGraphic)
com.ergotech.vib.graphics.ActiveGraphic
Overview
The Active Graphic is the basis of most VIB graphics.
Properties
These are the properties you can set on any graphic
Basic
Name A default Name will be generated when you drop the graphic into the Design but you can change this to any unique String that starts with an alphabetic character. Some characters are prohibited from being used for the name.
Servers, Quality, and Color "Actions"
Device Name Select a defined Device that has been added to the Device Node of MIStudio.
Tag Name or Register Select a Tag Name or enter a Register to access a data point from the Device selected with “Device Name”. Depending on the type of Device, the Tag Names or Registers may be presented as a list from which to select.
Color Action The graphic may have this property available if the input Value Object can change the color of some part of the animation. This property provides a choice of what part of the Bean will be affected by the server color. See Colors .
Use Color ? The same as “Color Action” but only True/False choice because there is only one part of the bean that is affected by the server color. See Colors .
Bad Qual. Indicator At This determines the level of data quality that will be displayed as “Bad” on the Bean. Setting this to “Worst Quality” will remove all indication of bad data quality. See Quality .
Warning Qual. Indicator At This determines the warning level of data quality that will be displayed as “Warning” on the Bean. Setting this to “Worst Quality” will remove all warnings. See Quality .
Text, Labels, and Fonts (only for components that have text labels)
Font Choose the font to use for the text or label. Number Format and Formatter String This sets how numbers are displayed. See Number Formatting .
Label Horizontal Alignment This sets the horizontal alignment of the text (left, centered, or right).
Label Vertical Alignment This sets the vertical alignment of the text (top, centered, or bottom).
Show Label ? This toggles whether or not to display the label on text-based display components.
Use Label Color The label color can be set, but the Bean may not use this color unless this property is set to True.
Label Color The alternate color for the label, used if “Use Label Color” is set to True.
Scaling and Limits
Maximum Value (Hi), High Limit, or High Value Some components only display a limited range of data. This sets the maximum on that range. This property is not used for all graphics.
Minimum Value (Lo), Low Limit, or Low Value Some components only display a limited range of data. This sets the minimum on that range. This property is not used for all graphics.
Bezel
Bezels (see Bezels for more information).
Bezel Many Beans can use “Bezels” to add a border around the graphic. There are a choice of six Bezels (and “None”, which removes the Bezel).
Bezel Inside Color Some Bezels can have an inside and outside color for shading or outlines. This is the color of the Bezel nearest the graphic.
Bezel Color This is the main color, or the outside color if the Bezel uses a blended color.
Bezel Percentage The Bezel width can be adjusted to make it thicker or thinner around the graphic.
Drawing
Active Smoothing ? If this is set to True, the “active” or animated parts of the graphic will be drawn with smoother edges.
Pre-Drawn Smoothing ? If this is set to True, the “inactive” or non-animated parts of the graphic will be drawn with smoother edges.
Transparency Match Color This is any single color used by the graphic that will be used to indicate what should be drawn as transparent. Any color can be used, and this usually defaults to a fill color for a region of the graphic. Any color that matches this in the graphic will be transparent only if Transparent? Is true.
Transparent ? Transparency affects how the graphics are drawn. This property is normally set to True, which means underlying graphics will “show through” the transparent areas of the graphic. The transparent region(s) are set using the Transparency Match Color.
Visible (Expert) The graphic is usually Visible (this defaults to True) but this property may be used to make the graphic invisible. Often used as an exposed property so the visibility can be changed at runtime.
Click Control
The click properties are used to switch web pages or application pages.
Click Action See Click Action Panel for configuration
Click Count The number of mouse presses to invoke the Click URL
Notes
See Also: Active Controls are interactive UI components (such as Buttons and Sliders)
