Class sap.makit.CategoryModule: sap/makit/Category

extends Element

Represents the Category data region of the Chart.

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.Category(sId?, mSettings?)Constructor for a new Category.
Method Summary
sap.makit.Category.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.makit.Category with name sClassName and enriches it with the information contained in oClassInfo.
sap.makit.Category.getMetadata()Returns a metadata object for class sap.makit.Category.
getColumn()Getter for property column.
getDisplayName()Getter for property displayName.
getFormat()Getter for property format.
setColumn(sColumn)Setter for property column.
setDisplayName(sDisplayName)Setter for property displayName.
setFormat(sFormat)Setter for property format.
Constructor Detail
new sap.makit.Category(sId?, mSettings?)
Constructor for a new Category.

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:

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.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.Category.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.makit.Category 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.Category.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.makit.Category.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getColumn(): string
Getter for property column. Specify the name of the column to be mapped to the Category Axis's value.

Default value is empty/undefined

Returns:
{string} the value of property column
getDisplayName(): string
Getter for property displayName. The text label representing this Category(on value bubble or table's header)

Default value is empty/undefined

Returns:
{string} the value of property displayName
getFormat(): string
Getter for property format. Number formatting for the value. Accepted values: number currency percent roundedN - where N represents number of decimal places e.g. rounded4

Default value is empty/undefined

Returns:
{string} the value of property format
setColumn(sColumn): sap.makit.Category
Setter for property column.

Default value is empty/undefined

Parameters:
{string}sColumn new value for property column
Returns:
{sap.makit.Category}this to allow method chaining
setDisplayName(sDisplayName): sap.makit.Category
Setter for property displayName.

Default value is empty/undefined

Parameters:
{string}sDisplayName new value for property displayName
Returns:
{sap.makit.Category}this to allow method chaining
setFormat(sFormat): sap.makit.Category
Setter for property format.

Default value is empty/undefined

Parameters:
{string}sFormat new value for property format
Returns:
{sap.makit.Category}this to allow method chaining