Class sap.suite.ui.microchart.ColumnMicroChartLabelModule: sap/suite/ui/microchart/ColumnMicroChartLabel

extends Control

Displays or hides the labels of a column micro chart.


Since: 1.34.
Constructor Summary
new sap.suite.ui.microchart.ColumnMicroChartLabel(sId?, mSettings?)Constructor for a new ColumnMicroChartLabel control.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.suite.ui.microchart.ColumnMicroChartLabel.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.suite.ui.microchart.ColumnMicroChartLabel with name sClassName and enriches it with the information contained in oClassInfo.
sap.suite.ui.microchart.ColumnMicroChartLabel.getMetadata()Returns a metadata object for class sap.suite.ui.microchart.ColumnMicroChartLabel.
getColor()Gets current value of property color.
getLabel()Gets current value of property label.
setColor(sColor)Sets a new value for property color.
setLabel(sLabel)Sets a new value for property label.
Constructor Detail
new sap.suite.ui.microchart.ColumnMicroChartLabel(sId?, mSettings?)
Constructor for a new ColumnMicroChartLabel control.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.

The supported settings are:

  • Properties
    • color : sap.m.ValueColor (default: Neutral)
    • label : string (default: )

In addition, all settings applicable to the base type sap.ui.core.Control 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
Method Detail
sap.suite.ui.microchart.ColumnMicroChartLabel.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.suite.ui.microchart.ColumnMicroChartLabel with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.core.Control.extend.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.suite.ui.microchart.ColumnMicroChartLabel.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.suite.ui.microchart.ColumnMicroChartLabel.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getColor(): sap.m.ValueColor
Gets current value of property color.

The graphic element color.

Default value is Neutral.

Returns:
{sap.m.ValueColor} Value of property color
getLabel(): string
Gets current value of property label.

The line title.

Default value is .

Returns:
{string} Value of property label
Sets a new value for property color.

The graphic element color.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is Neutral.

Parameters:
{sap.m.ValueColor}sColor New value for property color
Returns:
{sap.suite.ui.microchart.ColumnMicroChartLabel} Reference to this in order to allow method chaining
Sets a new value for property label.

The line title.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is .

Parameters:
{string}sLabel New value for property label
Returns:
{sap.suite.ui.microchart.ColumnMicroChartLabel} Reference to this in order to allow method chaining