Class sap.suite.ui.commons.DeltaMicroChartModule: sap/suite/ui/commons/DeltaMicroChart
This control displays a delta of two values as a chart.
Deprecated API:Since version 1.34. Deprecated. sap.suite.ui.microchart.DeltaMicroChart should be used.
sClassName
and enriches it with the information contained in oClassInfo
.fnFunction
to the 'press' event of this sap.suite.ui.commons.DeltaMicroChart
.fnFunction
from the 'press' event of this sap.suite.ui.commons.DeltaMicroChart
. 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
- value1 : float
- value2 : float
- title1 : string
- title2 : string
- displayValue1 : string
- displayValue2 : string
- deltaDisplayValue : string
- color : sap.suite.ui.commons.InfoTileValueColor (default: sap.suite.ui.commons.InfoTileValueColor.Neutral)
- width : sap.ui.core.CSSSize
- size : sap.suite.ui.commons.InfoTileSize (default: sap.suite.ui.commons.InfoTileSize.Auto)
- Aggregations
- Associations
- Events
- press : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
{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.34. Deprecated. sap.suite.ui.microchart.DeltaMicroChart should be used.
{sap.ui.base.Event} | oControlEvent | |
{sap.ui.base.EventProvider} | oControlEvent.getSource | |
{object} | oControlEvent.getParameters |
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 |
fnFunction
to the 'press' event of this sap.suite.ui.commons.DeltaMicroChart
.. When called, the context of the event handler (its
this
) will be bound to oListener if specified otherwise to this sap.suite.ui.commons.DeltaMicroChart
.
itself. The event is fired when the user chooses the delta micro chart.
{object} | oData? | An application specific payload object, that will be passed to the event handler along with the event object when firing the event. |
{function} | fnFunction | The function to call, when the event occurs. |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.suite.ui.commons.DeltaMicroChart .itself. |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |
fnFunction
from the 'press' event of this sap.suite.ui.commons.DeltaMicroChart
.The passed function and listener object must match the ones used for event registration.
{function} | fnFunction | The function to call, when the event occurs. |
{object} | oListener | Context object on which the given function had to be called. |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |
{Map} | mArguments? | the arguments to pass along with the event. |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |
color
. The semantic color of the delta value. Default value is Neutral
{sap.suite.ui.commons.InfoTileValueColor} | the value of property color |
deltaDisplayValue
. If this property is set, it is rendered instead of a calculated delta. Default value is empty/undefined
{string} | the value of property deltaDisplayValue |
displayValue1
. If this property is set, it is rendered instead of value1. Default value is empty/undefined
{string} | the value of property displayValue1 |
displayValue2
. If this property is set, it is rendered instead of value2. Default value is empty/undefined
{string} | the value of property displayValue2 |
size
. The size of the chart. If is not set, the default size is applied based on the device type. Default value is Auto
{sap.suite.ui.commons.InfoTileSize} | the value of property size |
title1
. The first value title. Default value is empty/undefined
{string} | the value of property title1 |
title2
. The second value title. Default value is empty/undefined
{string} | the value of property title2 |
value1
. The first value for delta calculation. Default value is empty/undefined
{float} | the value of property value1 |
value2
. The second value for delta calculation. Default value is empty/undefined
{float} | the value of property value2 |
width
. The width of the chart. Default value is empty/undefined
{sap.ui.core.CSSSize} | the value of property width |
color
. Default value is Neutral
{sap.suite.ui.commons.InfoTileValueColor} | oColor | new value for property color |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |
deltaDisplayValue
. Default value is empty/undefined
{string} | sDeltaDisplayValue | new value for property deltaDisplayValue |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |
displayValue1
. Default value is empty/undefined
{string} | sDisplayValue1 | new value for property displayValue1 |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |
displayValue2
. Default value is empty/undefined
{string} | sDisplayValue2 | new value for property displayValue2 |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |
size
. Default value is Auto
{sap.suite.ui.commons.InfoTileSize} | oSize | new value for property size |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |
title1
. Default value is empty/undefined
{string} | sTitle1 | new value for property title1 |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |
title2
. Default value is empty/undefined
{string} | sTitle2 | new value for property title2 |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |
value1
. Default value is empty/undefined
{float} | fValue1 | new value for property value1 |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |
value2
. Default value is empty/undefined
{float} | fValue2 | new value for property value2 |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |
width
. Default value is empty/undefined
{sap.ui.core.CSSSize} | sWidth | new value for property width |
{sap.suite.ui.commons.DeltaMicroChart} | this to allow method chaining |