Class sap.suite.ui.microchart.HarveyBallMicroChartItemModule: sap/suite/ui/microchart/HarveyBallMicroChartItem
Configures the slices of the pie chart.
Since: 1.34.
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. 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)
- fraction : float (default: 0)
- fractionLabel : string
- fractionScale : string
- formattedLabel : boolean (default: false)
In addition, all settings applicable to the base type sap.ui.core.Control 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 |
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.
{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 |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
color
. The slice color.
Default value is Neutral
.
{sap.m.ValueColor} | 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} | Value of property formattedLabel |
fraction
. The fraction value.
Default value is 0
.
{float} | Value of property fraction |
fractionLabel
. The fraction label. If specified, it is displayed instead of the fraction value.
{string} | Value of property fractionLabel |
fractionScale
. The scaling factor that is displayed after the fraction value.
{string} | Value of property fractionScale |
color
. The slice color.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Neutral
.
{sap.m.ValueColor} | sColor | New value for property color |
{sap.suite.ui.microchart.HarveyBallMicroChartItem} | Reference to this in order to allow method chaining |
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.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
{boolean} | bFormattedLabel | New value for property formattedLabel |
{sap.suite.ui.microchart.HarveyBallMicroChartItem} | Reference to this in order to allow method chaining |
fraction
. The fraction value.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0
.
{float} | fFraction | New value for property fraction |
{sap.suite.ui.microchart.HarveyBallMicroChartItem} | Reference to this in order to allow method chaining |
fractionLabel
. The fraction label. If specified, it is displayed instead of the fraction value.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sFractionLabel | New value for property fractionLabel |
{sap.suite.ui.microchart.HarveyBallMicroChartItem} | Reference to this in order to allow method chaining |
fractionScale
. The scaling factor that is displayed after the fraction value.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sFractionScale | New value for property fractionScale |
{sap.suite.ui.microchart.HarveyBallMicroChartItem} | Reference to this in order to allow method chaining |