Class sap.ca.ui.charts.CombinedChartModule: sap/ca/ui/charts/CombinedChart

extends Chart

Allows you to create a chart using vertical bars and lines 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.

Constructor Summary
new sap.ca.ui.charts.CombinedChart(sId?, mSettings?)Constructor for a new charts/CombinedChart.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.ca.ui.charts.CombinedChart.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ca.ui.charts.CombinedChart with name sClassName and enriches it with the information contained in oClassInfo.
sap.ca.ui.charts.CombinedChart.getMetadata()Returns a metadata object for class sap.ca.ui.charts.CombinedChart.
destroyScrollArea()Destroys the scrollArea in the aggregation named scrollArea.
getData()Getter for property data.
getPrimaryAxis()Getter for property primaryAxis.
getScrollArea()Getter for aggregation scrollArea.
getSecondAxis()Getter for property secondAxis.
setData(oData)Setter for property data.
setPrimaryAxis(oPrimaryAxis)Setter for property primaryAxis.
setScrollArea(oScrollArea)Setter for the aggregated scrollArea.
setSecondAxis(oSecondAxis)Setter for property secondAxis.
Methods borrowed from class sap.ca.ui.charts.Chart
_createId, advancedChartSettings, attachPopoverAfterOpen, attachPopoverBeforeOpen, attachSelectDataPoint, bindLabel, dataLabelFormatter, detachPopoverAfterOpen, detachPopoverBeforeOpen, detachSelectDataPoint, firePopoverAfterOpen, firePopoverBeforeOpen, fireSelectDataPoint, getAdvancedChartSettings, getChartPopOver, getChartSemanticColorFormatter, getChartType, getDataLabelFormatter, getDataset, getHeight, getIcon, getInternalVizChart, getLabel, getMinShapeSize, getNoData, getPlotAreaAxisTooltipFormatter, getPopoverFooter, getPopoverFormatter, getPopoverGroupFormatter, getPopoverSubHeader, getSecondAxisVisible, getSelectionMode, getShowDataLabel, getShowHoverBackground, getShowLegend, getShowPopover, getShowTooltip, getStackedChartWidthEnhancer, getTitle, getTooltipFormatter, getWidth, getXAxis2LabelFormatter, getXAxisLabelFormatter, getYAxis2LabelFormatter, getYAxisLabelFormatter, minShapeSize, popoverFormatter, popoverGroupFormatter, setAdvancedChartSettings, setChartPopOver, setChartSemanticColorFormatter, setChartType, setDataLabelFormatter, setDataset, setHeight, setIcon, setInternalVizChart, setLabel, setMinShapeSize, setModel, setNoData, setPlotAreaAxisTooltipFormatter, setPopoverFooter, setPopoverFormatter, setPopoverGroupFormatter, setPopoverSubHeader, setSecondAxisVisible, setSelectionMode, setShowDataLabel, setShowHoverBackground, setShowLegend, setShowPopover, setShowTooltip, setStackedChartWidthEnhancer, setTitle, setTooltipFormatter, setWidth, setXAxis2LabelFormatter, setXAxisLabelFormatter, setYAxis2LabelFormatter, setYAxisLabelFormatter, tooltipFormatter, unbindLabel, xAxis2LabelFormatter, xAxisLabelFormatter, yAxis2LabelFormatter, yAxisLabelFormatter
Constructor Detail
new sap.ca.ui.charts.CombinedChart(sId?, mSettings?)
Constructor for a new charts/CombinedChart.

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:

In addition, all settings applicable to the base type sap.ca.ui.charts.Chart can be used as well.

Parameters:
{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.

Method Detail
sap.ca.ui.charts.CombinedChart.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ca.ui.charts.CombinedChart 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
sap.ca.ui.charts.CombinedChart.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ca.ui.charts.CombinedChart.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
destroyScrollArea(): sap.ca.ui.charts.CombinedChart
Destroys the scrollArea in the aggregation named scrollArea.
Returns:
{sap.ca.ui.charts.CombinedChart}this to allow method chaining
getData(): any
Getter for property data. Data of the Chart

Default value is empty/undefined

Returns:
{any} the value of property data
getPrimaryAxis(): any
Getter for property primaryAxis. Shapes for the internal viz chart primary axis

Default value is empty/undefined

Returns:
{any} the value of property primaryAxis
getScrollArea(): sap.m.ScrollContainer
Getter for aggregation scrollArea.
scroll area that contains the graph plot
Returns:
{sap.m.ScrollContainer}
getSecondAxis(): any
Getter for property secondAxis. Shapes for the internal viz chart second axis

Default value is empty/undefined

Returns:
{any} the value of property secondAxis
Setter for property data.

Default value is empty/undefined

Parameters:
{any}oData new value for property data
Returns:
{sap.ca.ui.charts.CombinedChart}this to allow method chaining
setPrimaryAxis(oPrimaryAxis): sap.ca.ui.charts.CombinedChart
Setter for property primaryAxis.

Default value is empty/undefined

Parameters:
{any}oPrimaryAxis new value for property primaryAxis
Returns:
{sap.ca.ui.charts.CombinedChart}this to allow method chaining
setScrollArea(oScrollArea): sap.ca.ui.charts.CombinedChart
Setter for the aggregated scrollArea.
Parameters:
{sap.m.ScrollContainer}oScrollArea
Returns:
{sap.ca.ui.charts.CombinedChart}this to allow method chaining
setSecondAxis(oSecondAxis): sap.ca.ui.charts.CombinedChart
Setter for property secondAxis.

Default value is empty/undefined

Parameters:
{any}oSecondAxis new value for property secondAxis
Returns:
{sap.ca.ui.charts.CombinedChart}this to allow method chaining