Class sap.makit.CategoryAxisModule: sap/makit/CategoryAxis

extends Axis

Contains the properties of the Category's Axis.

Deprecated API:Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.


Since: 1.8.
Constructor Summary
new sap.makit.CategoryAxis(sId?, mSettings?)Constructor for a new CategoryAxis.
Method Summary
sap.makit.CategoryAxis.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.makit.CategoryAxis with name sClassName and enriches it with the information contained in oClassInfo.
sap.makit.CategoryAxis.getMetadata()Returns a metadata object for class sap.makit.CategoryAxis.
getDisplayAll()Getter for property displayAll.
getDisplayLastLabel()Getter for property displayLastLabel.
getSortOrder()Getter for property sortOrder.
setDisplayAll(bDisplayAll)Setter for property displayAll.
setDisplayLastLabel(bDisplayLastLabel)Setter for property displayLastLabel.
setSortOrder(oSortOrder)Setter for property sortOrder.
Constructor Detail
new sap.makit.CategoryAxis(sId?, mSettings?)
Constructor for a new CategoryAxis.

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.makit.Axis 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.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
        Method Detail
        sap.makit.CategoryAxis.extend(sClassName, oClassInfo?, FNMetaImpl?): function
        Creates a new subclass of class sap.makit.CategoryAxis 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.makit.CategoryAxis.getMetadata(): sap.ui.base.Metadata
        Returns a metadata object for class sap.makit.CategoryAxis.
        Returns:
        {sap.ui.base.Metadata} Metadata object describing this class
        getDisplayAll(): boolean
        Getter for property displayAll. Specify whether to display all the category values when there are multiple category data regions.

        Default value is true

        Returns:
        {boolean} the value of property displayAll
        getDisplayLastLabel(): boolean
        Getter for property displayLastLabel. Whether to always display the last label on the axis regardless of the automatic resize

        Default value is false

        Returns:
        {boolean} the value of property displayLastLabel
        getSortOrder(): sap.makit.SortOrder
        Getter for property sortOrder. Sort order of the chart

        Default value is None

        Returns:
        {sap.makit.SortOrder} the value of property sortOrder
        setDisplayAll(bDisplayAll): sap.makit.CategoryAxis
        Setter for property displayAll.

        Default value is true

        Parameters:
        {boolean}bDisplayAll new value for property displayAll
        Returns:
        {sap.makit.CategoryAxis}this to allow method chaining
        setDisplayLastLabel(bDisplayLastLabel): sap.makit.CategoryAxis
        Setter for property displayLastLabel.

        Default value is false

        Parameters:
        {boolean}bDisplayLastLabel new value for property displayLastLabel
        Returns:
        {sap.makit.CategoryAxis}this to allow method chaining
        setSortOrder(oSortOrder): sap.makit.CategoryAxis
        Setter for property sortOrder.

        Default value is None

        Parameters:
        {sap.makit.SortOrder}oSortOrder new value for property sortOrder
        Returns:
        {sap.makit.CategoryAxis}this to allow method chaining