Class sap.ca.ui.charts.VerticalBarChartModule: sap/ca/ui/charts/VerticalBarChart
Allows you to create a chart using vertical bars to represent the data
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
- Aggregations
- content : sap.ui.core.Control[]
- scroll : sap.m.ScrollContainer
- verticalBarChart : sap.viz.ui5.Column
- verticalArea : sap.m.VBox
- 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 |
barWidth
. Minimum shape size for touch enabled actions, default and minimum to 48px ! Default value is 48
{int} | the value of property barWidth |
container
. The DOM ID where the chart will be added. Deprecated Default value is chart
{string} | the value of property container |
data
. The data to be used by the chart Default value is empty/undefined
{object} | the value of property data |
barWidth
. Default value is 48
{int} | iBarWidth | new value for property barWidth |
{sap.ca.ui.charts.VerticalBarChart} | this to allow method chaining |
container
. Default value is chart
{string} | sContainer | new value for property container |
{sap.ca.ui.charts.VerticalBarChart} | this to allow method chaining |
data
. Default value is empty/undefined
{object} | oData | new value for property data |
{sap.ca.ui.charts.VerticalBarChart} | 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 7.20.0. This method is deprecated now.
{sap.ca.ui.charts.VerticalBarChart} | this to allow method chaining |
content
. - Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.ca.ui.charts.VerticalBarChart} | this to allow method chaining |
scroll
. - Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.ca.ui.charts.VerticalBarChart} | this to allow method chaining |
verticalArea
. - Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.ca.ui.charts.VerticalBarChart} | this to allow method chaining |
verticalBarChart
. - Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.ca.ui.charts.VerticalBarChart} | this to allow method chaining |
content
.Deprecated aggregation. Left for compatibility purposes.
- Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.ui.core.Control[]} |
scroll
.The scroll container
- Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.m.ScrollContainer} |
verticalArea
.The vertical layout
- Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.m.VBox} |
verticalBarChart
.The chart
- Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.viz.ui5.Column} |
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 7.20.0. This method is deprecated now.
{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 7.20.0. This method is deprecated now.
{sap.ca.ui.charts.VerticalBarChart} | this to allow method chaining |
content
.Additionally unregisters them from the hosting UIArea.
- Deprecated:
- Since version 7.20.0. This method is deprecated now.
{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 7.20.0. This method is deprecated now.
{sap.ui.core.Control} | the removed content or null |
scroll
. {sap.m.ScrollContainer} | oScroll |
- Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.ca.ui.charts.VerticalBarChart} | this to allow method chaining |
verticalArea
. {sap.m.VBox} | oVerticalArea |
- Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.ca.ui.charts.VerticalBarChart} | this to allow method chaining |
verticalBarChart
. {sap.viz.ui5.Column} | oVerticalBarChart |
- Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.ca.ui.charts.VerticalBarChart} | this to allow method chaining |