Element Details: Label
 Back


Available in: Logi Info Source code name: Label

Displays text.



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
Caption
UserDefined
(Required) The Caption attribute identifies the text to be displayed. For Image elements, Caption specifies the image filename.
Class
UserDefined
Sets the Cascading Style Sheet class used by the element. When set, this class will also be used by all child elements that don't have their own class. The class should be defined in the report's style sheet file.
ErrorResult
UserDefined
ErrorResult sets the value that is used whenever the Condition or script formula fails because of an error. For ConditionFilters, the default is "False". For CalculatedColumn and ExtraCrosstabCalculatedColum elements, the default is blank. Otherwise, the default is "???". Label's Caption attributes can have a script formula by making the first character the equals sign: "=".
For
UserDefined
The For attribute improves accessibility with some browsers. When a Label is used as the caption of an input element, the For attribute specifies which form element the label is bound to. Set it to the ID of its related input element. For example: "
Format
UserDefined
Allows a string to be formatted in various ways, especially for numeric and date values. Specifies formatting characteristics for the data. This attribute has been borrowed from the Microsoft Visual Basic Format function. For more information: http://msdn.microsoft.com/en-us/library/59bz1f0h(VS.71).aspx For dates, the non-specific formats, such as "General Date", "Short Time", etc., are converted according to the browser's international setttings. Also, for very large reports, the non-specific formats perform better. There are also some special formats. "<" and ">" change strings to lower and upper case. "Expanded Spaces" preserves space characters that would otherwise be collapsed by the web browser. "HTML" preserves HTML tags so that they are not encoded - they are embedded rather than shown. "Preserve Line Feeds" preserves line feed and cariage return characters so that the following characters appear on a new line. "mp" formats numbers with the "metric prefix". To format 1,234,567 as "$1.23M", use Format "$#.00mp". Supported metric prefixes are from 1000^6 to 1000^-6 For more information: http://en.wikipedia.org/wiki/Metric_prefix "mpsx" formats the value with x number of significant figures in addition to the metric prefix. So a value of 123456, with format set to mps3 will return 123k. "qq" returns the number of the quarter when the value being formatted represents a date. To return the year and quarter together like "2010 Q1", set the format to "yyyy Qqq". "fyy" and "fyyyy" return the fiscal year. "fqq" returns the fiscal quarter. The fiscal year start date may be configured in the settings' Globalization element. "ww" returns the number of the week. The first day of the week may be configured in the settings' Globalization element.
HtmlTag
Sup
Sub
Span
P
I
H6
H5
H4
H3
H2
H1
Em
Div
Code
B
HtmlTag specifies the HTML tag which will be output to the browser for the Label element. Default is "Span".
ID
UserDefined
The ID attribute is a pervasive attribute that uniquely identifies an element within a definition file. The ID needs to be a unique value within the definition.
SecurityRightID
UserDefined
When entered, access to this element can be controlled with Logi security. Supply the ID of a right defined in the applications settings’ Security element. Only users that have a right in the SecurityRightID will be able to see the element. Note that when rights come from RightFromRole elements under Security/UserRights, and this element's SecurityRightID does NOT match any of the Right IDs defined in the Settings definition, then the user DOES have access. But when Right IDs are instead derived from RightsFromDataLayer or RightsFromRoles elements, and the user DOES NOT have a matching Right, then the user DOES NOT have access. You can enter multiple right IDs, separated by commas. In this case, the user sees the element if he has any one of the Rights.
Tooltip
UserDefined
Text that appears when the user hovers the pointer over the image or text.



PARENT ELEMENTS

Click element to drill down for more information.

Body
Column Cell
Crosstab Table Header Column
Crosstab Table Label Column
Crosstab Table Summary Column
Crosstab Table Value Columns
Data Calendar Rows
Data Multi-Column List
Data Table Column
Data Tree Branch
Division
Extra Column Header
Fieldset Box
HTML Tag
List Item
Map Marker Info
More Info Row
More Info Row Column
Page Footer
Page Header
Panel Content
Panel Parameters
Popup Option
Popup Panel
Rectangle
Report Footer
Report Header
Responsive Column
Subdata Multi-Column List
Tab Panel
Tooltip Panel


CHILD ELEMENTS

Click element to drill down for more information.

Action.Add Bookmark
Action.Add Dashboard Panel
Action.Copy Bookmark
Action.Dial Phone
Action.Draft Email
Action.Draft Text Message
Action.Drag Bookmark
Action.Edit Bookmark
Action.EmailReport
Action.Exit
Action.Export CSV
Action.Export Native Excel
Action.Export Native Word
Action.Export PDF
Action.Export Word Or Excel
Action.Export XML
Action.Google Spreadsheet
Action.Javascript
Action.Link
Action.Map Location
Action.Popup Menu
Action.Process
Action.Refresh Element
Action.Remove Bookmark
Action.Report
Action.Run Bookmark
Action.Show Bookmark Sharing
Action.Show Element
Action.Template
Action.Widget
Conditional Class
Event Handler
Tooltip Panel


 Back to top


 Chart Debug