Class sap.suite.ui.microchart.BulletMicroChartDataModule: sap/suite/ui/microchart/BulletMicroChartData

extends Element

Contains the thresholds data.


Since: 1.34.
Constructor Summary
new sap.suite.ui.microchart.BulletMicroChartData(sId?, mSettings?)Constructor for a new BulletMicroChartData.
Method Summary
sap.suite.ui.microchart.BulletMicroChartData.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.suite.ui.microchart.BulletMicroChartData with name sClassName and enriches it with the information contained in oClassInfo.
sap.suite.ui.microchart.BulletMicroChartData.getMetadata()Returns a metadata object for class sap.suite.ui.microchart.BulletMicroChartData.
getColor()Gets current value of property color.
getValue()Gets current value of property value.
setColor(sColor)Sets a new value for property color.
setValue(fValue)Sets a new value for property value.
Constructor Detail
new sap.suite.ui.microchart.BulletMicroChartData(sId?, mSettings?)
Constructor for a new BulletMicroChartData.

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)

In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.

Parameters:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? initial settings for the new control
Method Detail
sap.suite.ui.microchart.BulletMicroChartData.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.suite.ui.microchart.BulletMicroChartData with name 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.

Parameters:
{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
Returns:
{function} Created class / constructor function
sap.suite.ui.microchart.BulletMicroChartData.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.suite.ui.microchart.BulletMicroChartData.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getColor(): sap.m.ValueColor
Gets current value of property color.

The semantic color of the actual value.

Default value is Neutral.

Returns:
{sap.m.ValueColor} Value of property color
getValue(): float
Gets current value of property value.

The actual value.

Default value is 0.

Returns:
{float} Value of property value
Sets a new value for property color.

The semantic color of the actual value.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is Neutral.

Parameters:
{sap.m.ValueColor}sColor New value for property color
Returns:
{sap.suite.ui.microchart.BulletMicroChartData} Reference to this in order to allow method chaining
Sets a new value for property value.

The actual value.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is 0.

Parameters:
{float}fValue New value for property value
Returns:
{sap.suite.ui.microchart.BulletMicroChartData} Reference to this in order to allow method chaining