Class sap.viz.ui5.data.CustomDatasetModule: sap/viz/ui5/data/CustomDataset

extends Dataset

A dataset for raw data format.


Since: 1.31.
Constructor Summary
new sap.viz.ui5.data.CustomDataset(sId?, mSettings?)Constructor for a new ui5/data/CustomDataset.
Method Summary
sap.viz.ui5.data.CustomDataset.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.viz.ui5.data.CustomDataset with name sClassName and enriches it with the information contained in oClassInfo.
sap.viz.ui5.data.CustomDataset.getMetadata()Returns a metadata object for class sap.viz.ui5.data.CustomDataset.
getData()Gets current value of property data.
setData(oData)Sets a new value for property data.
Constructor Detail
new sap.viz.ui5.data.CustomDataset(sId?, mSettings?)
Constructor for a new ui5/data/CustomDataset.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.

The supported settings are:

  • Properties

In addition, all settings applicable to the base type sap.viz.ui5.data.Dataset 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
Method Detail
sap.viz.ui5.data.CustomDataset.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.viz.ui5.data.CustomDataset with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.viz.ui5.data.Dataset.extend.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.viz.ui5.data.CustomDataset.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.viz.ui5.data.CustomDataset.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getData(): object
Gets current value of property data.

Data containing dimensions and measures. The format and structure of this data is depends on the chart.

Returns:
{object} Value of property data
Sets a new value for property data.

Data containing dimensions and measures. The format and structure of this data is depends on the chart.

When called with a value of null or undefined, the default value of the property will be restored.

Parameters:
{object}oData New value for property data
Returns:
{sap.viz.ui5.data.CustomDataset} Reference to this in order to allow method chaining