Class sap.makit.ValueModule: sap/makit/Value
Represents the Value data region of the Chart.
Deprecated API:Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Since: 1.8.
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
- expression : string
- displayName : string
- format : string
- locale : string
- Aggregations
- Associations
- Events
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
{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.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
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 |
displayName
. The text label representing this Value (on value bubble or table's header) Default value is empty/undefined
{string} | the value of property displayName |
expression
. The user should map the column on this property. The expression allows more advanced column mapping. Instead of just specifying the column name (e.g. revenueValue), the user can use SAP expression language e.g. Assuming the user has a revenueValue column and an operatingCost column, the user can specify the following expression: "revenueValue - operatingCost" the resulting value displayed in the chart will be the arithmatic operation result on these two columns. Default value is empty/undefined
{string} | the value of property expression |
format
. Number formatting for the value. Accepted values: number currency percent roundedN - where N represents number of decimal places e.g. rounded4 Default value is empty/undefined
{string} | the value of property format |
locale
. Comma separated locales for specifiying values in different locale. The locale will be mapped in the same order as the series data. e.g. zh-CH, en-US, de-DE The first zh-CH will be applied to the value of the first series, en-US will be applied to the second series. Currently will only work with 'currency' format. Supported locales: en, zh, de, fr, es, ru, ja, pt and their more specific variations such as en-CA, es-AR, zh-HK, etc. Default value is empty/undefined
{string} | the value of property locale |
displayName
. Default value is empty/undefined
{string} | sDisplayName | new value for property displayName |
{sap.makit.Value} | this to allow method chaining |
expression
. Default value is empty/undefined
{string} | sExpression | new value for property expression |
{sap.makit.Value} | this to allow method chaining |
format
. Default value is empty/undefined
{string} | sFormat | new value for property format |
{sap.makit.Value} | this to allow method chaining |
locale
. Default value is empty/undefined
{string} | sLocale | new value for property locale |
{sap.makit.Value} | this to allow method chaining |