Class sap.suite.ui.commons.BulletChartDataModule: sap/suite/ui/commons/BulletChartData

extends Element

Thresholds data holder.

Deprecated API:Since version 1.34. Deprecated. sap.suite.ui.microchart.BulletMicroChartData should be used.

Constructor Summary
new sap.suite.ui.commons.BulletChartData(sId?, mSettings?)Constructor for a new BulletChartData.
Method Summary
sap.suite.ui.commons.BulletChartData.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.suite.ui.commons.BulletChartData with name sClassName and enriches it with the information contained in oClassInfo.
sap.suite.ui.commons.BulletChartData.getMetadata()Returns a metadata object for class sap.suite.ui.commons.BulletChartData.
getColor()Getter for property color.
getValue()Getter for property value.
setColor(oColor)Setter for property color.
setValue(fValue)Setter for property value.
Constructor Detail
new sap.suite.ui.commons.BulletChartData(sId?, mSettings?)
Constructor for a new BulletChartData.

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 : float (default: 0)
    • color : sap.suite.ui.commons.InfoTileValueColor (default: sap.suite.ui.commons.InfoTileValueColor.Neutral)
  • Aggregations
    • Associations
      • Events

        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
        Deprecated:
        Since version 1.34. Deprecated. sap.suite.ui.microchart.BulletMicroChartData should be used.
        Method Detail
        sap.suite.ui.commons.BulletChartData.extend(sClassName, oClassInfo?, FNMetaImpl?): function
        Creates a new subclass of class sap.suite.ui.commons.BulletChartData with name sClassName and enriches it with the information contained in oClassInfo.

        oClassInfo might contain the same kind of informations as described in Element.extend.

        Parameters:
        {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.
        Returns:
        {function} the created class / constructor function
        sap.suite.ui.commons.BulletChartData.getMetadata(): sap.ui.base.Metadata
        Returns a metadata object for class sap.suite.ui.commons.BulletChartData.
        Returns:
        {sap.ui.base.Metadata} Metadata object describing this class
        Getter for property color. The semantic color of the actual value.

        Default value is Neutral

        Returns:
        {sap.suite.ui.commons.InfoTileValueColor} the value of property color
        getValue(): float
        Getter for property value. The actual value.

        Default value is 0

        Returns:
        {float} the value of property value
        Setter for property color.

        Default value is Neutral

        Parameters:
        {sap.suite.ui.commons.InfoTileValueColor}oColor new value for property color
        Returns:
        {sap.suite.ui.commons.BulletChartData}this to allow method chaining
        Setter for property value.

        Default value is 0

        Parameters:
        {float}fValue new value for property value
        Returns:
        {sap.suite.ui.commons.BulletChartData}this to allow method chaining