Class sap.suite.ui.commons.KpiTileModule: sap/suite/ui/commons/KpiTile
This control is used in UnifiedThingInspector to display object-related KPIs in a factsheet.
Deprecated API:Since version 1.32. Deprecated. Numeric content or any other standard Fiori control should be used instead.
sClassName
and enriches it with the information contained in oClassInfo
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).
The supported settings are:
- Properties
- value : string
- description : string
- doubleFontSize : boolean (default: true)
- valueUnit : string
- valueScale : string
- valueStatus : sap.suite.ui.commons.ValueStatus (default: sap.suite.ui.commons.ValueStatus.Neutral)
- Aggregations
- Associations
- Events
{string} | sId? | id for the new control, generated automatically if no id is given |
{object} | mSettings? | initial settings for the new control |
- Deprecated:
- Since version 1.32. Deprecated. Numeric content or any other standard Fiori control should be used instead.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{string} | sClassName | name of the class to be created |
{object} | oClassInfo? | object literal with informations about the class |
{function} | FNMetaImpl? | constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
description
. The Description field. Default value is empty/undefined
{string} | the value of property description |
doubleFontSize
. If true, the value text will have 2 rem, if false - 1 rem. Default value is true
{boolean} | the value of property doubleFontSize |
value
. The Value field. Default value is empty/undefined
{string} | the value of property value |
valueScale
. The scale of a value. Default value is empty/undefined
{string} | the value of property valueScale |
valueStatus
. The status color of the value. Depending on the status the tile is displayed in different colors. Default value is Neutral
{sap.suite.ui.commons.ValueStatus} | the value of property valueStatus |
valueUnit
. The percent sign, currency symbol, or unit for a value. Default value is empty/undefined
{string} | the value of property valueUnit |
description
. Default value is empty/undefined
{string} | sDescription | new value for property description |
{sap.suite.ui.commons.KpiTile} | this to allow method chaining |
doubleFontSize
. Default value is true
{boolean} | bDoubleFontSize | new value for property doubleFontSize |
{sap.suite.ui.commons.KpiTile} | this to allow method chaining |
value
. Default value is empty/undefined
{string} | sValue | new value for property value |
{sap.suite.ui.commons.KpiTile} | this to allow method chaining |
valueScale
. Default value is empty/undefined
{string} | sValueScale | new value for property valueScale |
{sap.suite.ui.commons.KpiTile} | this to allow method chaining |
valueStatus
. Default value is Neutral
{sap.suite.ui.commons.ValueStatus} | oValueStatus | new value for property valueStatus |
{sap.suite.ui.commons.KpiTile} | this to allow method chaining |
valueUnit
. Default value is empty/undefined
{string} | sValueUnit | new value for property valueUnit |
{sap.suite.ui.commons.KpiTile} | this to allow method chaining |