Class sap.ca.ui.charts.HorizontalBarChartModule: sap/ca/ui/charts/HorizontalBarChart
Allows you to create a chart using horizontal 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
.horizontalBarChart
. 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
- scroll : sap.m.ScrollContainer
- horizontalBarChart : sap.viz.ui5.Bar
- 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 |
horizontalBarChart
. {sap.ca.ui.charts.HorizontalBarChart} | this to allow method chaining |
barHeight
. Minimum shape size for touch enabled actions, default and minimum to 48px ! Default value is 48
{int} | the value of property barHeight |
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 |
horizontalBarChart
.The internal chart
{sap.viz.ui5.Bar} |
barHeight
. Default value is 48
{int} | iBarHeight | new value for property barHeight |
{sap.ca.ui.charts.HorizontalBarChart} | this to allow method chaining |
container
. Default value is chart
{string} | sContainer | new value for property container |
{sap.ca.ui.charts.HorizontalBarChart} | this to allow method chaining |
data
. Default value is empty/undefined
{object} | oData | new value for property data |
{sap.ca.ui.charts.HorizontalBarChart} | this to allow method chaining |
horizontalBarChart
. {sap.viz.ui5.Bar} | oHorizontalBarChart |
{sap.ca.ui.charts.HorizontalBarChart} | this to allow method chaining |
scroll
. - Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.ca.ui.charts.HorizontalBarChart} | this to allow method chaining |
verticalArea
. - Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.ca.ui.charts.HorizontalBarChart} | this to allow method chaining |
scroll
.The scroll container
- Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.m.ScrollContainer} |
verticalArea
.The vertical area within the scroll container
- Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.m.VBox} |
scroll
. {sap.m.ScrollContainer} | oScroll |
- Deprecated:
- Since version 7.20.0. This method is deprecated now.
{sap.ca.ui.charts.HorizontalBarChart} | 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.HorizontalBarChart} | this to allow method chaining |