Class sap.suite.ui.microchart.ComparisonMicroChartDataModule: sap/suite/ui/microchart/ComparisonMicroChartData
Contains the values of the comparison chart.
Since: 1.34.
sClassName
and enriches it with the information contained in oClassInfo
.fnFunction
to the press
event of this sap.suite.ui.microchart.ComparisonMicroChartData
.fnFunction
from the press
event of this sap.suite.ui.microchart.ComparisonMicroChartData
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- value : float (default: 0)
- color : sap.m.ValueColor (default: Neutral)
- title : string (default: )
- displayValue : string (default: )
- Events
- press : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
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 |
{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 information as described in sap.ui.core.Element.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
fnFunction
to the press
event of this sap.suite.ui.microchart.ComparisonMicroChartData
. When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.suite.ui.microchart.ComparisonMicroChartData
itself.
The event is fired when the user chooses the comparison chart bar.
{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 be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.suite.ui.microchart.ComparisonMicroChartData itself |
{sap.suite.ui.microchart.ComparisonMicroChartData} | Reference to this in order to allow method chaining |
fnFunction
from the press
event of this sap.suite.ui.microchart.ComparisonMicroChartData
. The passed function and listener object must match the ones used for event registration.
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
{sap.suite.ui.microchart.ComparisonMicroChartData} | Reference to this in order to allow method chaining |
press
to attached listeners. {Map} | mArguments? | The arguments to pass along with the event |
{sap.suite.ui.microchart.ComparisonMicroChartData} | Reference to this in order to allow method chaining |
color
. The semantic color of the value.
Default value is Neutral
.
{sap.m.ValueColor} | Value of property color |
displayValue
. If this property is set then it will be displayed instead of value.
Default value is .
{string} | Value of property displayValue |
title
. The comparison bar title.
Default value is .
{string} | Value of property title |
value
. The value for comparison.
Default value is 0
.
{float} | Value of property value |
color
. The semantic color of the value.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Neutral
.
{sap.m.ValueColor} | sColor | New value for property color |
{sap.suite.ui.microchart.ComparisonMicroChartData} | Reference to this in order to allow method chaining |
displayValue
. If this property is set then it will be displayed instead of value.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is .
{string} | sDisplayValue | New value for property displayValue |
{sap.suite.ui.microchart.ComparisonMicroChartData} | Reference to this in order to allow method chaining |
title
. The comparison bar title.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is .
{string} | sTitle | New value for property title |
{sap.suite.ui.microchart.ComparisonMicroChartData} | Reference to this in order to allow method chaining |
value
. The value for comparison.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0
.
{float} | fValue | New value for property value |
{sap.suite.ui.microchart.ComparisonMicroChartData} | Reference to this in order to allow method chaining |