Class sap.ca.ui.charts.BarListItemModule: sap/ca/ui/charts/BarListItem

extends ListItemBase

The display list item consists of a label and a value.

Deprecated API:Since version 1.24.

Sap.ca charts have been replaced with sap.viz and vizFrame in 1.24. The UI5 control "sap.viz.ui5.controls.VizFrame" serves as a single point of entry for all the new charts. Now that 1.24 is available you are asked to use sap.viz charts and the VizFrame instead! This control will not be supported anymore from 1.24.

Constructor Summary
new sap.ca.ui.charts.BarListItem(sId?, mSettings?)Constructor for a new charts/BarListItem.
Fields borrowed from class sap.m.ListItemBase
Events borrowed from class sap.m.ListItemBase
Events borrowed from class sap.ui.core.Control
Method Summary
sap.ca.ui.charts.BarListItem.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ca.ui.charts.BarListItem with name sClassName and enriches it with the information contained in oClassInfo.
sap.ca.ui.charts.BarListItem.getMetadata()Returns a metadata object for class sap.ca.ui.charts.BarListItem.
getAxis()Getter for property axis.
getGroup()Getter for property group.
getValue()Getter for property value.
setAxis(sAxis)Setter for property axis.
setGroup(sGroup)Setter for property group.
setValue(sValue)Setter for property value.
Constructor Detail
new sap.ca.ui.charts.BarListItem(sId?, mSettings?)
Constructor for a new charts/BarListItem.

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
  • Aggregations
    • Associations
      • Events

        In addition, all settings applicable to the base type sap.m.ListItemBase 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.24.

        Sap.ca charts have been replaced with sap.viz and vizFrame in 1.24. The UI5 control "sap.viz.ui5.controls.VizFrame" serves as a single point of entry for all the new charts. Now that 1.24 is available you are asked to use sap.viz charts and the VizFrame instead! This control will not be supported anymore from 1.24.

        Method Detail
        sap.ca.ui.charts.BarListItem.extend(sClassName, oClassInfo?, FNMetaImpl?): function
        Creates a new subclass of class sap.ca.ui.charts.BarListItem 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.ca.ui.charts.BarListItem.getMetadata(): sap.ui.base.Metadata
        Returns a metadata object for class sap.ca.ui.charts.BarListItem.
        Returns:
        {sap.ui.base.Metadata} Metadata object describing this class
        getAxis(): string
        Getter for property axis. List item label

        Default value is empty/undefined

        Returns:
        {string} the value of property axis
        getGroup(): string
        Getter for property group. List item label

        Default value is empty/undefined

        Returns:
        {string} the value of property group
        getValue(): string
        Getter for property value. List item value

        Default value is empty/undefined

        Returns:
        {string} the value of property value
        Setter for property axis.

        Default value is empty/undefined

        Parameters:
        {string}sAxis new value for property axis
        Returns:
        {sap.ca.ui.charts.BarListItem}this to allow method chaining
        setGroup(sGroup): sap.ca.ui.charts.BarListItem
        Setter for property group.

        Default value is empty/undefined

        Parameters:
        {string}sGroup new value for property group
        Returns:
        {sap.ca.ui.charts.BarListItem}this to allow method chaining
        setValue(sValue): sap.ca.ui.charts.BarListItem
        Setter for property value.

        Default value is empty/undefined

        Parameters:
        {string}sValue new value for property value
        Returns:
        {sap.ca.ui.charts.BarListItem}this to allow method chaining