Class sap.suite.ui.commons.MicroAreaChartItemModule: sap/suite/ui/commons/MicroAreaChartItem
The configuration of the graphic element on the chart.
Deprecated API:Since version 1.34. Deprecated. sap.suite.ui.microchart.AreaMicroChartItem should be used.
sClassName and enriches it with the information contained in oClassInfo.sap.suite.ui.commons.MicroAreaChartPoint in the aggregation named points and returns its index if found or -1 otherwise. 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
- points : sap.suite.ui.commons.MicroAreaChartPoint[]
- Associations
- Events
In addition, all settings applicable to the base type sap.ui.core.Element can be used as well.
| {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.34. Deprecated. sap.suite.ui.microchart.AreaMicroChartItem should be used.
sClassName and enriches it with the information contained in oClassInfo. oClassInfo might contain the same kind of informations as described in Element.extend.
| {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. |
| {function} | the created class / constructor function |
| {sap.ui.base.Metadata} | Metadata object describing this class |
oPoint to the aggregation named points. | {sap.suite.ui.commons.MicroAreaChartPoint} | oPoint | the point to add; if empty, nothing is inserted |
| {sap.suite.ui.commons.MicroAreaChartItem} | this to allow method chaining |
points. | {string} | sPath | path to a list in the model |
| {sap.ui.core.Element} | oTemplate | the control template for this aggregation |
| {sap.ui.model.Sorter} | oSorter | the initial sort order (optional) |
| {array} | aFilters | the predefined filters for this aggregation (optional) |
| {sap.suite.ui.commons.MicroAreaChartItem} | this to allow method chaining |
points. | {sap.suite.ui.commons.MicroAreaChartItem} | this to allow method chaining |
color. The graphic element color. Default value is Neutral
| {sap.suite.ui.commons.InfoTileValueColor} | the value of property color |
points.The set of points for this graphic element.
| {sap.suite.ui.commons.MicroAreaChartPoint[]} |
title. The line title. Default value is empty/undefined
- Since:
- 1.29
| {string} | the value of property title |
sap.suite.ui.commons.MicroAreaChartPoint in the aggregation named points and returns its index if found or -1 otherwise. | {sap.suite.ui.commons.MicroAreaChartPoint} | oPoint | the point whose index is looked for. |
| {int} | the index of the provided control in the aggregation if found, or -1 otherwise |
points. | {sap.suite.ui.commons.MicroAreaChartPoint} | oPoint | the point to insert; if empty, nothing is inserted |
| {int} | iIndex | the 0-based index the point should be inserted at; for a negative value of iIndex, the point is inserted at position 0; for a value greater than the current size of the aggregation, the point is inserted at the last position |
| {sap.suite.ui.commons.MicroAreaChartItem} | this to allow method chaining |
points.Additionally unregisters them from the hosting UIArea.
| {sap.suite.ui.commons.MicroAreaChartPoint[]} | an array of the removed elements (might be empty) |
points. | {int|string|sap.suite.ui.commons.MicroAreaChartPoint} | vPoint | the point to remove or its index or id |
| {sap.suite.ui.commons.MicroAreaChartPoint} | the removed point or null |
color. Default value is Neutral
| {sap.suite.ui.commons.InfoTileValueColor} | oColor | new value for property color |
| {sap.suite.ui.commons.MicroAreaChartItem} | this to allow method chaining |
title. Default value is empty/undefined
| {string} | sTitle | new value for property title |
- Since:
- 1.29
| {sap.suite.ui.commons.MicroAreaChartItem} | this to allow method chaining |
points. | {sap.suite.ui.commons.MicroAreaChartItem} | this to allow method chaining |