Class sap.suite.ui.microchart.AreaMicroChartPointModule: sap/suite/ui/microchart/AreaMicroChartPoint

extends Control

Contains the data for the point.


Since: 1.34.
Constructor Summary
new sap.suite.ui.microchart.AreaMicroChartPoint(sId?, mSettings?)This control contains data for the point.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.suite.ui.microchart.AreaMicroChartPoint.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.suite.ui.microchart.AreaMicroChartPoint with name sClassName and enriches it with the information contained in oClassInfo.
sap.suite.ui.microchart.AreaMicroChartPoint.getMetadata()Returns a metadata object for class sap.suite.ui.microchart.AreaMicroChartPoint.
getX()Gets current value of property x.
getXValue()Returns the x value.
getY()Gets current value of property y.
getYValue()Returns the y value.
setX(fX)Sets a new value for property x.
setY(fY)Sets a new value for property y.
Constructor Detail
new sap.suite.ui.microchart.AreaMicroChartPoint(sId?, mSettings?)
This control contains data for the point.

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
    • x : float
    • y : float

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.AreaMicroChartPoint.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.suite.ui.microchart.AreaMicroChartPoint 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.AreaMicroChartPoint.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.suite.ui.microchart.AreaMicroChartPoint.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getX(): float
Gets current value of property x.

X value for the given point.

Returns:
{float} Value of property x
getXValue(): string
Returns the x value. It returns 'undefined', if the x property was not set or an invalid number was set.
Returns:
{string}
getY(): float
Gets current value of property y.

Y value for the given point.

Returns:
{float} Value of property y
getYValue(): float
Returns the y value. It returns 'undefined', if the y property was not set or an invalid number was set.
Returns:
{float}
Sets a new value for property x.

X value for the given point.

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

Parameters:
{float}fX New value for property x
Returns:
{sap.suite.ui.microchart.AreaMicroChartPoint} Reference to this in order to allow method chaining
Sets a new value for property y.

Y value for the given point.

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

Parameters:
{float}fY New value for property y
Returns:
{sap.suite.ui.microchart.AreaMicroChartPoint} Reference to this in order to allow method chaining