Class sap.ca.ui.charts.StackedHorizontalBarChartModule: sap/ca/ui/charts/StackedHorizontalBarChart
Stacked Horizontal Bar Chart wrapper around the viz StackedBarChart / MultipleStackedBarChart. To be used in conjunction with the chart toolbar.
Deprecated API:Since version 1.24.
Sap.ca charts have been replaced with sap.viz and vizFrame in 1.24. The UI5 control "sap.viz.ui5.controls.VizFrame" serves as a single point of entry for all the new charts. Now that 1.24 is available you are asked to use sap.viz charts and the VizFrame instead! This control will not be supported anymore from 1.24.
sClassName
and enriches it with the information contained in oClassInfo
.sap.ui.core.Control
in the aggregation named content
and returns its index if found or -1 otherwise. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).
The supported settings are:
- Properties
- type : string (default: 'StackedBar')
- minTouchSize : sap.ui.core.CSSSize (default: '48px')
- dataLabelFormat : any (default: [["##"]])
- Aggregations
- content : sap.ui.core.Control[]
- Associations
- Events
In addition, all settings applicable to the base type sap.ca.ui.charts.Chart 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 |
- Deprecated:
- Since version 1.24.
Sap.ca charts have been replaced with sap.viz and vizFrame in 1.24. The UI5 control "sap.viz.ui5.controls.VizFrame" serves as a single point of entry for all the new charts. Now that 1.24 is available you are asked to use sap.viz charts and the VizFrame instead! This control will not be supported anymore from 1.24.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of informations as described in Element.extend.
{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. |
{function} | the created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
dataLabelFormat
. Defines the formater string for the dataLabel value to be diaplyed on the bubble e.g [ [##]] Default value is [["##"]]
{any} | the value of property dataLabelFormat |
dataLabelFormat
. Default value is [["##"]]
{any} | oDataLabelFormat | new value for property dataLabelFormat |
{sap.ca.ui.charts.StackedHorizontalBarChart} | this to allow method chaining |
oContent
to the aggregation named content
. {sap.ui.core.Control} | oContent | the content to add; if empty, nothing is inserted |
- Deprecated:
- Since version 1.16.3.
content has been deprecated since 1.16.3. The only visible content in the chart now is the internalVizChart.
{sap.ca.ui.charts.StackedHorizontalBarChart} | this to allow method chaining |
content
. - Deprecated:
- Since version 1.16.3.
content has been deprecated since 1.16.3. The only visible content in the chart now is the internalVizChart.
{sap.ca.ui.charts.StackedHorizontalBarChart} | this to allow method chaining |
content
.Deprecated aggregation. Left for compatibility purposes.
- Deprecated:
- Since version 1.16.3.
content has been deprecated since 1.16.3. The only visible content in the chart now is the internalVizChart.
{sap.ui.core.Control[]} |
minTouchSize
. Mapped to minShapeSize property. Default value is 48px
- Deprecated:
- Since version 1.16.3.
minTouchSize has been deprecated since 1.16.3. Please use the minShapeSize instead.
{sap.ui.core.CSSSize} | the value of property minTouchSize |
type
. Mapped to charType property. Default value is StackedBar
- Deprecated:
- Since version 1.16.3.
type has been deprecated since 1.16.3. Please use the chartType instead.
{string} | the value of property type |
sap.ui.core.Control
in the aggregation named content
and returns its index if found or -1 otherwise. {sap.ui.core.Control} | oContent | the content whose index is looked for. |
- Deprecated:
- Since version 1.16.3.
content has been deprecated since 1.16.3. The only visible content in the chart now is the internalVizChart.
{int} | the index of the provided control in the aggregation if found, or -1 otherwise |
content
. {sap.ui.core.Control} | oContent | the content to insert; if empty, nothing is inserted |
{int} | iIndex | the 0 -based index the content should be inserted at; for a negative value of iIndex , the content is inserted at position 0; for a value greater than the current size of the aggregation, the content is inserted at the last position |
- Deprecated:
- Since version 1.16.3.
content has been deprecated since 1.16.3. The only visible content in the chart now is the internalVizChart.
{sap.ca.ui.charts.StackedHorizontalBarChart} | this to allow method chaining |
content
.Additionally unregisters them from the hosting UIArea.
- Deprecated:
- Since version 1.16.3.
content has been deprecated since 1.16.3. The only visible content in the chart now is the internalVizChart.
{sap.ui.core.Control[]} | an array of the removed elements (might be empty) |
content
. {int|string|sap.ui.core.Control} | vContent | the content to remove or its index or id |
- Deprecated:
- Since version 1.16.3.
content has been deprecated since 1.16.3. The only visible content in the chart now is the internalVizChart.
{sap.ui.core.Control} | the removed content or null |
minTouchSize
. Default value is 48px
{sap.ui.core.CSSSize} | sMinTouchSize | new value for property minTouchSize |
- Deprecated:
- Since version 1.16.3.
minTouchSize has been deprecated since 1.16.3. Please use the minShapeSize instead.
{sap.ca.ui.charts.StackedHorizontalBarChart} | this to allow method chaining |
type
. Default value is StackedBar
{string} | sType | new value for property type |
- Deprecated:
- Since version 1.16.3.
type has been deprecated since 1.16.3. Please use the chartType instead.
{sap.ca.ui.charts.StackedHorizontalBarChart} | this to allow method chaining |