Class sap.suite.ui.microchart.RadialMicroChartModule: sap/suite/ui/microchart/RadialMicroChart
Displays a ring chart highlighting a current status. The status is displayed with a semantically colored radial bar and a percentage value.
Since: 1.36.0.
sClassName
and enriches it with the information contained in oClassInfo
.fnFunction
to the press
event of this sap.suite.ui.microchart.RadialMicroChart
.fnFunction
from the press
event of this sap.suite.ui.microchart.RadialMicroChart
. 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
- total : float
- fraction : float
- percentage : float
- valueColor : sap.m.ValueCSSColor (default: Neutral)
- Events
- press : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
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 |
{sap.ui.base.Event} | oControlEvent | |
{sap.ui.base.EventProvider} | oControlEvent.getSource | |
{object} | oControlEvent.getParameters |
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 |
fnFunction
to the press
event of this sap.suite.ui.microchart.RadialMicroChart
. When called, the context of the event handler (its this
) will be bound to oListener
if specified, otherwise it will be bound to this sap.suite.ui.microchart.RadialMicroChart
itself.
The event is triggered when the chart is pressed.
{object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
{function} | fnFunction | The function to be called when the event occurs |
{object} | oListener? | Context object to call the event handler with. Defaults to this sap.suite.ui.microchart.RadialMicroChart itself |
{sap.suite.ui.microchart.RadialMicroChart} | Reference to this in order to allow method chaining |
fnFunction
from the press
event of this sap.suite.ui.microchart.RadialMicroChart
. The passed function and listener object must match the ones used for event registration.
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
{sap.suite.ui.microchart.RadialMicroChart} | Reference to this in order to allow method chaining |
press
to attached listeners. {Map} | mArguments? | The arguments to pass along with the event |
{sap.suite.ui.microchart.RadialMicroChart} | Reference to this in order to allow method chaining |
fraction
. The fraction of the total value that is displayed.
{float} | Value of property fraction |
percentage
. The percentage that is displayed. When a percentage is set, properties total and fraction are not considered.
{float} | Value of property percentage |
total
. The total value. This is taken as 360 degrees value on the chart.
{float} | Value of property total |
valueColor
. The color shown in the completed path.
Default value is Neutral
.
{sap.m.ValueCSSColor} | Value of property valueColor |
fraction
. The fraction of the total value that is displayed.
When called with a value of null
or undefined
, the default value of the property will be restored.
{float} | fFraction | New value for property fraction |
{sap.suite.ui.microchart.RadialMicroChart} | Reference to this in order to allow method chaining |
percentage
. The percentage that is displayed. When a percentage is set, properties total and fraction are not considered.
When called with a value of null
or undefined
, the default value of the property will be restored.
{float} | fPercentage | New value for property percentage |
{sap.suite.ui.microchart.RadialMicroChart} | Reference to this in order to allow method chaining |
total
. The total value. This is taken as 360 degrees value on the chart.
When called with a value of null
or undefined
, the default value of the property will be restored.
{float} | fTotal | New value for property total |
{sap.suite.ui.microchart.RadialMicroChart} | Reference to this in order to allow method chaining |
valueColor
. The color shown in the completed path.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is Neutral
.
{sap.m.ValueCSSColor} | sValueColor | New value for property valueColor |
{sap.suite.ui.microchart.RadialMicroChart} | Reference to this in order to allow method chaining |