sap.makit.CombinationChart.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.makit.CombinationChart 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.makit.CombinationChart.
Returns:
Attach event handler
fnFunction
to the 'doubletap' event of this
sap.makit.CombinationChart
.
. When called, the context of the event handler (its
this
) will be bound to
oListener if specified otherwise to this sap.makit.CombinationChart
.
itself. Double tap event on the 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.makit.CombinationChart . itself. |
Returns:
Attach event handler
fnFunction
to the 'longpress' event of this
sap.makit.CombinationChart
.
. When called, the context of the event handler (its
this
) will be bound to
oListener if specified otherwise to this sap.makit.CombinationChart
.
itself. Long press event on the 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.makit.CombinationChart . itself. |
Returns:
Attach event handler
fnFunction
to the 'tap' event of this
sap.makit.CombinationChart
.
. When called, the context of the event handler (its
this
) will be bound to
oListener if specified otherwise to this sap.makit.CombinationChart
.
itself. Single tap event on the 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.makit.CombinationChart . itself. |
Returns:
Detach event handler
fnFunction
from the 'doubletap' event of this
sap.makit.CombinationChart
.
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:
Detach event handler
fnFunction
from the 'longpress' event of this
sap.makit.CombinationChart
.
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:
Detach event handler
fnFunction
from the 'tap' event of this
sap.makit.CombinationChart
.
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 doubletap to attached listeners.
Parameters:
{Map} | mArguments? | the arguments to pass along with the event. |
Returns:
Fire event longpress to attached listeners.
Parameters:
{Map} | mArguments? | the arguments to pass along with the event. |
Returns:
Fire event tap to attached listeners.
Parameters:
{Map} | mArguments? | the arguments to pass along with the event. |
Returns:
Getter for property
height
. The height of the Chart
Default value is 100%
Returns:
Getter for property
legendPosition
. Legend position for Pie /Donut chart only.
Default value is Left
Returns:
getNumberOfCategories()
See the generated JSDoc for the documentation of this public function
getNumberOfVisibleCategories(): int
Getter for property
numberOfVisibleCategories
. The number of categories that will be visible on the chart at any time. The minimum value is 2. If not set, the number of visible categories will be automatically adjusted depending on the screen size
Default value is empty/undefined
Returns:
{int} | the value of property numberOfVisibleCategories |
getPrimaryColorPalette(): any
Getter for property
primaryColorPalette
. Allow a combination chart’s primary axis color palette to be modified without affecting other charts' color palette. If not set, the chart will use the default color palette defined in the theme. Accept an array of color in string format or hex format. e.g. 0xff0000 "red" "rgb(255,0,0)"
Default value is empty/undefined
Returns:
{any} | the value of property primaryColorPalette |
getRangeSelectorStartPosition(): int
Getter for property
rangeSelectorStartPosition
. Specify the range selector start position, default value is 0.
Default value is 0
Returns:
{int} | the value of property rangeSelectorStartPosition |
getSecondaryColorPalette(): any
Getter for property
secondaryColorPalette
. Allow a combination chart’s secondary axis color palette to be modified without affecting other charts' color palette. If not set, the chart will use the default color palette defined in the theme. Accept an array of color in string format or hex format. e.g. 0xff0000 "red" "rgb(255,0,0)"
Default value is empty/undefined
Returns:
{any} | the value of property secondaryColorPalette |
getSelectedCategory()
See the generated JSDoc for the documentation of this public function
getSelectedCategoryGroup()
See the generated JSDoc for the documentation of this public function
getShowRangeSelector(): boolean
Getter for property
showRangeSelector
. Specify whether the range selector should be visible.
Default value is true
Returns:
{boolean} | the value of property showRangeSelector |
getShowTableValue(): boolean
Getter for property
showTableValue
. Toggle to display the table value on a Bar chart. Only applies to Bar chart.
Default value is true
Returns:
{boolean} | the value of property showTableValue |
Getter for property
width
. The width of the Chart
Default value is 100%
Returns:
Setter for property
height
.
Default value is 100%
Parameters:
Returns:
Setter for property
legendPosition
.
Default value is Left
Parameters:
Returns:
Setter for property
numberOfVisibleCategories
.
Default value is empty/undefined
Parameters:
{int} | iNumberOfVisibleCategories | new value for property numberOfVisibleCategories |
Returns:
Setter for property
primaryColorPalette
.
Default value is empty/undefined
Parameters:
{any} | oPrimaryColorPalette | new value for property primaryColorPalette |
Returns:
Setter for property
rangeSelectorStartPosition
.
Default value is 0
Parameters:
{int} | iRangeSelectorStartPosition | new value for property rangeSelectorStartPosition |
Returns:
Setter for property
secondaryColorPalette
.
Default value is empty/undefined
Parameters:
{any} | oSecondaryColorPalette | new value for property secondaryColorPalette |
Returns:
Setter for property
showRangeSelector
.
Default value is true
Parameters:
{boolean} | bShowRangeSelector | new value for property showRangeSelector |
Returns:
Setter for property
showTableValue
.
Default value is true
Parameters:
{boolean} | bShowTableValue | new value for property showTableValue |
Returns:
Setter for property
width
.
Default value is 100%
Parameters:
Returns:
Destroys the categoryAxis in the aggregation named categoryAxis
.
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
Destroys all the categoryRegions in the aggregation named categoryRegions
.
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
Destroys all the layers in the aggregation named layers
.
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
Destroys the primaryValueAxis in the aggregation named primaryValueAxis
.
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
Destroys the secondaryValueAxis in the aggregation named secondaryValueAxis
.
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
Destroys the valueBubble in the aggregation named valueBubble
.
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
Getter for aggregation categoryAxis
.
Category Axis property of the Chart. Accepts only an instance of CategoryAxis element.
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
Getter for aggregation categoryRegions
.
Data region property of the chart's Categories
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
Getter for aggregation layers
.
The collection of charts
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
Getter for aggregation primaryValueAxis
.
Property of the Combination Chart's primary Value Axis. Accept only an instance of ValueAxis element.
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
Getter for aggregation secondaryValueAxis
.
Property of the Combination Chart's secondary Value Axis. Accept only an instance of ValueAxis element.
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
Getter for aggregation valueBubble
.
Value Bubble property of the Chart. Accept only an instance of ValueBubble element.
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
indexOfCategoryRegion(oCategoryRegion): int
Checks for the provided sap.makit.Category
in the aggregation named categoryRegions
and returns its index if found or -1 otherwise.
Parameters:
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
{int} | the index of the provided control in the aggregation if found, or -1 otherwise |
indexOfLayer(oLayer): int
Checks for the provided sap.makit.Layer
in the aggregation named layers
and returns its index if found or -1 otherwise.
Parameters:
- Deprecated:
- Since version 1.38. MAKIT charts have been replaced with sap.viz and vizFrame in 1.38. This control will not be supported anymore from 1.38.
Returns:
{int} | the index of the provided control in the aggregation if found, or -1 otherwise |