Class sap.makit.ValueAxisModule: sap/makit/ValueAxis

extends Axis

Contains the properties of the Value'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.ValueAxis(sId?, mSettings?)Constructor for a new ValueAxis.
Method Summary
sap.makit.ValueAxis.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.makit.ValueAxis with name sClassName and enriches it with the information contained in oClassInfo.
sap.makit.ValueAxis.getMetadata()Returns a metadata object for class sap.makit.ValueAxis.
getMax()Getter for property max.
getMin()Getter for property min.
setMax(sMax)Setter for property max.
setMin(sMin)Setter for property min.
Constructor Detail
new sap.makit.ValueAxis(sId?, mSettings?)
Constructor for a new ValueAxis.

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.ValueAxis.extend(sClassName, oClassInfo?, FNMetaImpl?): function
        Creates a new subclass of class sap.makit.ValueAxis 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.ValueAxis.getMetadata(): sap.ui.base.Metadata
        Returns a metadata object for class sap.makit.ValueAxis.
        Returns:
        {sap.ui.base.Metadata} Metadata object describing this class
        getMax(): string
        Getter for property max. Highest displayed value on the Value Axis (this value will be automatically adjusted to nearest major tick value depending on the value's range)

        Default value is empty/undefined

        Returns:
        {string} the value of property max
        getMin(): string
        Getter for property min. Highest displayed value on the Value Axis (this value will be automatically adjusted to nearest major tick value depending on the value's range). Set to empty string to switch back to automatic calculation.

        Default value is empty/undefined

        Returns:
        {string} the value of property min
        setMax(sMax): sap.makit.ValueAxis
        Setter for property max.

        Default value is empty/undefined

        Parameters:
        {string}sMax new value for property max
        Returns:
        {sap.makit.ValueAxis}this to allow method chaining
        setMin(sMin): sap.makit.ValueAxis
        Setter for property min.

        Default value is empty/undefined

        Parameters:
        {string}sMin new value for property min
        Returns:
        {sap.makit.ValueAxis}this to allow method chaining