Class sap.viz.ui5.controls.PopoverModule: sap/viz/ui5/controls/Popover
Viz Chart Popover
Experimental API:Since version 1.22.0. API is not finished yet and might change completely
Since: 1.22.0.
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
- customDataControl : any
- actionItems : object[]
- formatString : any
- showLine : boolean (default: true)
In addition, all settings applicable to the base type sap.viz.ui5.controls.common.BaseControl 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.viz.ui5.controls.common.BaseControl.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 |
Example:
var vizFrame = new sap.viz.ui5.controls.VizFrame({ 'vizType' : 'bar', 'uiConfig' : { 'applicationSet': 'fiori' } }); var vizPopover = new sap.viz.ui5.controls.Popover({}); vizPopover.connect(vizFrame.getVizUid());
{string} | uid |
actionItems
. The items of this list or rows of Action List in Home Page inside the Popover.
{object[]} | Value of property actionItems |
customDataControl
. A callback function let user customize Popover's content panel.
{any} | Value of property customDataControl |
formatString
. The pattern is used to format the measures displayed in Popover. If value type of format string is String, the format string will be used to format all measures. If value type is Object, each format string in the Object will be used to format the specified measure or time dimension.
{any} | Value of property formatString |
showLine
. Show line with popover marker in line/combination charts.
Default value is true
.
{boolean} | Value of property showLine |
actionItems
. The items of this list or rows of Action List in Home Page inside the Popover.
When called with a value of null
or undefined
, the default value of the property will be restored.
{object[]} | sActionItems | New value for property actionItems |
{sap.viz.ui5.controls.Popover} | Reference to this in order to allow method chaining |
customDataControl
. A callback function let user customize Popover's content panel.
When called with a value of null
or undefined
, the default value of the property will be restored.
{any} | oCustomDataControl | New value for property customDataControl |
{sap.viz.ui5.controls.Popover} | Reference to this in order to allow method chaining |
formatString
. The pattern is used to format the measures displayed in Popover. If value type of format string is String, the format string will be used to format all measures. If value type is Object, each format string in the Object will be used to format the specified measure or time dimension.
When called with a value of null
or undefined
, the default value of the property will be restored.
{any} | oFormatString | New value for property formatString |
{sap.viz.ui5.controls.Popover} | Reference to this in order to allow method chaining |
showLine
. Show line with popover marker in line/combination charts.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bShowLine | New value for property showLine |
{sap.viz.ui5.controls.Popover} | Reference to this in order to allow method chaining |