sap.viz.ui5.TimeBubble.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.viz.ui5.TimeBubble with name
sClassName
and enriches it with the information contained in
oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.viz.ui5.core.BaseChart.extend.
Parameters:
{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 |
Returns:
{function} | Created class / constructor function |
Returns a metadata object for class sap.viz.ui5.TimeBubble.
Returns:
Attaches event handler
fnFunction
to the
deselectData
event of this
sap.viz.ui5.TimeBubble
.
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.viz.ui5.TimeBubble
itself.
Event fires when certain data point(s) is(are) deselected, data context of deselected item(s) would be passed in accordance with the following format.{name: "deselectData",data:["---the same as selectedData---"]}
Parameters:
{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.viz.ui5.TimeBubble itself |
Returns:
Attaches event handler
fnFunction
to the
initialized
event of this
sap.viz.ui5.TimeBubble
.
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.viz.ui5.TimeBubble
itself.
Event fires when the loading ends. To use the event listener when creating charts, you must use an event that is passed by the events option. For more information on events options, see the usrOptions section of the createViz function in the API document.
Parameters:
{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.viz.ui5.TimeBubble itself |
Returns:
Attaches event handler
fnFunction
to the
selectData
event of this
sap.viz.ui5.TimeBubble
.
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.viz.ui5.TimeBubble
itself.
Event fires when certain data point(s) is(are) selected, data context of selected item(s) would be passed in accordance with the following format.{name: "selectData",data:[{ //selected element's detail target:"Dom Element",//an object pointed to corresponding dom element data:[{val: "...",//value of this element ctx:{type:"Dimension"||"Measure"||"MND", //for Dimension path:{aa:"...",di:"...",dii:"..."}, //for Measure path:{mg:"...",mi:"...",dii_a1:"...",dii_a2:"..."}, //for MND path:{mg:"...",mi:"..."} //path: analysis path //aa: analysis axis index // 0 for analysis axis 1, 1 for analysis 2 //di: dimension index //zero based //dii: dimension item index //zero based //mg: measure group index // 0 for measure group 1,1 for measure group 2 //mi: measure index // measure index in measure group zero based //dii_a1: each dii of di in analysis axis 1 index //dii_a2: each dii of di in analysis axis 2 index }},{ //for bubble, tagcloud and scatter, there will be more than one values in one selected element. var:"...",ctx:"..."}]},{ //if under multi selection, there will be more than one selected elements target:"...",data:["..."]}]}
Parameters:
{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.viz.ui5.TimeBubble itself |
Returns:
Destroys the background in the aggregation background
.
Returns:
Destroys the dataLabel in the aggregation dataLabel
.
Returns:
Destroys the general in the aggregation general
.
Returns:
Destroys the interaction in the aggregation interaction
.
Returns:
Destroys the legend in the aggregation legend
.
Returns:
Destroys the legendGroup in the aggregation legendGroup
.
Returns:
Destroys the plotArea in the aggregation plotArea
.
Returns:
Destroys the sizeLegend in the aggregation sizeLegend
.
Returns:
Destroys the title in the aggregation title
.
Returns:
Destroys the toolTip in the aggregation toolTip
.
Returns:
Destroys the xAxis in the aggregation xAxis
.
Returns:
Destroys the xyContainer in the aggregation xyContainer
.
Returns:
Destroys the yAxis in the aggregation yAxis
.
Returns:
Detaches event handler
fnFunction
from the
deselectData
event of this
sap.viz.ui5.TimeBubble
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Detaches event handler
fnFunction
from the
initialized
event of this
sap.viz.ui5.TimeBubble
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Detaches event handler
fnFunction
from the
selectData
event of this
sap.viz.ui5.TimeBubble
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
Returns:
Fires event deselectData
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
Fires event initialized
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
Fires event selectData
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
Returns:
Gets content of aggregation
background
.
Module sap.viz.modules.background
Returns:
Gets content of aggregation
dataLabel
.
Module sap.viz.modules.datalabel
Returns:
Gets content of aggregation
general
.
Module sap.viz.modules.rootContainer
Returns:
Gets content of aggregation
interaction
.
Module sap.viz.modules.controller.interaction
Returns:
Gets content of aggregation
legend
.
Module sap.viz.modules.legend.common
Returns:
Gets content of aggregation
legendGroup
.
Module sap.viz.modules.legend
Returns:
Gets content of aggregation
plotArea
.
Module sap.viz.modules.bubble
Returns:
Gets content of aggregation
sizeLegend
.
Module sap.viz.modules.legend.common
Returns:
Gets content of aggregation
title
.
Module sap.viz.modules.title
Returns:
Gets content of aggregation
toolTip
.
Module sap.viz.chart.elements.Tooltip
Returns:
Gets content of aggregation
xAxis
.
Module sap.viz.modules.axis
Returns:
Gets content of aggregation
xyContainer
.
Module sap.viz.modules.xycontainer
Returns:
Gets content of aggregation
yAxis
.
Module sap.viz.modules.axis
Returns:
Sets the aggregated background
.
Parameters:
Returns:
Sets the aggregated dataLabel
.
Parameters:
Returns:
Sets the aggregated general
.
Parameters:
Returns:
Sets the aggregated interaction
.
Parameters:
Returns:
Sets the aggregated legend
.
Parameters:
Returns:
Sets the aggregated legendGroup
.
Parameters:
Returns:
Sets the aggregated plotArea
.
Parameters:
Returns:
Sets the aggregated sizeLegend
.
Parameters:
Returns:
Sets the aggregated title
.
Parameters:
Returns:
Sets the aggregated toolTip
.
Parameters:
Returns:
Sets the aggregated xAxis
.
Parameters:
Returns:
Sets the aggregated xyContainer
.
Parameters:
Returns:
Sets the aggregated yAxis
.
Parameters:
Returns:
Attaches event handler
fnFunction
to the
hideTooltip
event of this
sap.viz.ui5.TimeBubble
.
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.viz.ui5.TimeBubble
itself.
This event is deprecated, please use hideDetail decoration (refer to properties: interaction.decorations) instead. Event fires when the mouse hover out of the specific part of chart, no data is passed.
Parameters:
{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.viz.ui5.TimeBubble itself |
- Deprecated:
- Since version 1.19. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
Returns:
Attaches event handler
fnFunction
to the
showTooltip
event of this
sap.viz.ui5.TimeBubble
.
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.viz.ui5.TimeBubble
itself.
This event is deprecated, please use showDetail decoration (refer to properties: interaction.decorations) instead. Event fires when the mouse hover onto the specific part of chart, data context of tooltip would be passed in accordance with the following format.{name:"showTooltip",data:{body:[{ //All measures name:"...",val:[{//measure value is an array containing only one item value:"..."}]},"..."],footer:[{label:"...",value:"..."},"..."],plotArea:{ //this object specifies the plot area of the chart height:"...",width:"...",x:"...",y:"..."},point:{ //this object specifies a point which affects the position of tooltip x:"...",y:"..."},selectedValues:...//this number specify how many values are selected}}
Parameters:
{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.viz.ui5.TimeBubble itself |
- Deprecated:
- Since version 1.19. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
Returns:
Detaches event handler
fnFunction
from the
hideTooltip
event of this
sap.viz.ui5.TimeBubble
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
- Deprecated:
- Since version 1.19. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
Returns:
Detaches event handler
fnFunction
from the
showTooltip
event of this
sap.viz.ui5.TimeBubble
.
The passed function and listener object must match the ones used for event registration.
Parameters:
{function} | fnFunction | The function to be called, when the event occurs |
{object} | oListener | Context object on which the given function had to be called |
- Deprecated:
- Since version 1.19. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
Returns:
Fires event hideTooltip
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
- Deprecated:
- Since version 1.19. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
Returns:
Fires event showTooltip
to attached listeners.
Parameters:
{Map} | mArguments? | The arguments to pass along with the event |
- Deprecated:
- Since version 1.19. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
Returns: