sap.suite.ui.commons.ColumnMicroChart.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.suite.ui.commons.ColumnMicroChart with name
sClassName and enriches it with the information contained in
oClassInfo.
oClassInfo might contain the same kind of informations as described in Element.extend.
Parameters:
| {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. |
Returns:
| {function} | the created class / constructor function |
Returns a metadata object for class sap.suite.ui.commons.ColumnMicroChart.
Returns:
Adds some column oColumn to the aggregation named columns.
Parameters:
Returns:
Attach event handler
fnFunction to the 'press' event of this
sap.suite.ui.commons.ColumnMicroChart.
. When called, the context of the event handler (its
this) will be bound to
oListener if specified otherwise to this sap.suite.ui.commons.ColumnMicroChart.
itself. The event is fired when the user chooses the column chart.
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 call, when the event occurs. |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.suite.ui.commons.ColumnMicroChart. itself. |
Returns:
Destroys all the columns in the aggregation named columns.
Returns:
Destroys the leftBottomLabel in the aggregation named leftBottomLabel.
- Since:
- 1.28
Returns:
Destroys the leftTopLabel in the aggregation named leftTopLabel.
- Since:
- 1.28
Returns:
Destroys the rightBottomLabel in the aggregation named rightBottomLabel.
- Since:
- 1.28
Returns:
Destroys the rightTopLabel in the aggregation named rightTopLabel.
- Since:
- 1.28
Returns:
Detach event handler
fnFunction from the 'press' event of this
sap.suite.ui.commons.ColumnMicroChart.
The passed function and listener object must match the ones used for event registration.
Parameters:
| {function} | fnFunction | The function to call, when the event occurs. |
| {object} | oListener | Context object on which the given function had to be called. |
Returns:
Fire event press to attached listeners.
Parameters:
| {Map} | mArguments? | the arguments to pass along with the event. |
Returns:
Getter for aggregation columns.
The column chart data.
Returns:
Getter for property
height. The height of the chart. If it is not set, the height of the control is defined by the size property.
Default value is empty/undefined
Returns:
Getter for aggregation leftBottomLabel.
The label on the left bottom corner of the chart.
- Since:
- 1.28
Returns:
Getter for aggregation leftTopLabel.
The label on the left top corner of the chart.
- Since:
- 1.28
Returns:
Getter for aggregation rightBottomLabel.
The label on the right bottom corner of the chart.
- Since:
- 1.28
Returns:
Getter for aggregation rightTopLabel.
The label on the right top corner of the chart.
- Since:
- 1.28
Returns:
Getter for property
size. Updates the size of the chart. If not set then the default size is applied based on the device tile.
Default value is Auto
Returns:
Getter for property
width. The width of the chart. If it is not set, the width of the control is defined by the size property.
Default value is empty/undefined
Returns:
indexOfColumn(oColumn): int
Checks for the provided sap.suite.ui.commons.ColumnData in the aggregation named columns and returns its index if found or -1 otherwise.
Parameters:
Returns:
| {int} | the index of the provided control in the aggregation if found, or -1 otherwise |
Inserts a column into the aggregation named columns.
Parameters:
| {sap.suite.ui.commons.ColumnData} | oColumn | the column to insert; if empty, nothing is inserted |
| {int} | iIndex | the 0-based index the column should be inserted at; for a negative value of iIndex, the column is inserted at position 0; for a value greater than the current size of the aggregation, the column is inserted at the last position |
Returns:
Removes all the controls in the aggregation named columns.
Additionally unregisters them from the hosting UIArea.
Returns:
Removes an column from the aggregation named columns.
Parameters:
Returns:
Setter for property
height.
Default value is empty/undefined
Parameters:
Returns:
Setter for the aggregated leftBottomLabel.
Parameters:
- Since:
- 1.28
Returns:
Setter for the aggregated leftTopLabel.
Parameters:
- Since:
- 1.28
Returns:
Setter for the aggregated rightBottomLabel.
Parameters:
- Since:
- 1.28
Returns:
Setter for the aggregated rightTopLabel.
Parameters:
- Since:
- 1.28
Returns:
Setter for property
size.
Default value is Auto
Parameters:
Returns:
Setter for property
width.
Default value is empty/undefined
Parameters:
Returns: