Class sap.suite.ui.commons.HarveyBallMicroChartItemModule: sap/suite/ui/commons/HarveyBallMicroChartItem
The configuration of the slice on the pie chart.
Deprecated API:Since version 1.34. Deprecated. sap.suite.ui.microchart.HarveyBallMicroChartItem should be used.
sClassName
and enriches it with the information contained in oClassInfo
. 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
- color : sap.suite.ui.commons.InfoTileValueColor (default: sap.suite.ui.commons.InfoTileValueColor.Neutral)
- fraction : float (default: 0)
- fractionLabel : string
- fractionScale : string
- formattedLabel : boolean (default: false)
- Aggregations
- 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.HarveyBallMicroChartItem 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 |
color
. The slice color. Default value is Neutral
{sap.suite.ui.commons.InfoTileValueColor} | the value of property color |
formattedLabel
. If set to true, the fractionLabel parameter is considered as the combination of the fraction value and scaling factor. The default value is false. It means that the fraction value and the scaling factor are defined separately by the fraction and the fractionScale properties accordingly. Default value is false
{boolean} | the value of property formattedLabel |
fraction
. The fraction value. Default value is 0
{float} | the value of property fraction |
fractionLabel
. The fraction label. If specified, it is displayed instead of the fraction value. Default value is empty/undefined
{string} | the value of property fractionLabel |
fractionScale
. The scaling factor that is displayed after the fraction value. Default value is empty/undefined
{string} | the value of property fractionScale |
color
. Default value is Neutral
{sap.suite.ui.commons.InfoTileValueColor} | oColor | new value for property color |
{sap.suite.ui.commons.HarveyBallMicroChartItem} | this to allow method chaining |
formattedLabel
. Default value is false
{boolean} | bFormattedLabel | new value for property formattedLabel |
{sap.suite.ui.commons.HarveyBallMicroChartItem} | this to allow method chaining |
fraction
. Default value is 0
{float} | fFraction | new value for property fraction |
{sap.suite.ui.commons.HarveyBallMicroChartItem} | this to allow method chaining |
fractionLabel
. Default value is empty/undefined
{string} | sFractionLabel | new value for property fractionLabel |
{sap.suite.ui.commons.HarveyBallMicroChartItem} | this to allow method chaining |
fractionScale
. Default value is empty/undefined
{string} | sFractionScale | new value for property fractionScale |
{sap.suite.ui.commons.HarveyBallMicroChartItem} | this to allow method chaining |