Class sap.viz.ui5.data.DimensionDefinitionModule: sap/viz/ui5/data/DimensionDefinition
Definition of a single dimension in a dataset
Since: 1.7.2.
sClassName
and enriches it with the information contained in oClassInfo
. 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:
In addition, all settings applicable to the base type sap.ui.core.Element 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 |
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.ui.core.Element.extend.
{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 |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
axis
. Number of axis this dimension belongs to. Currently must be 1 or 2. Skip this property when use VizFrame.
{int} | Value of property axis |
dataType
. Data type of the dimension as displayed in the chart. Enumeration: string, number, date. Currently only in time series chart, it is required to set data type to 'date' if this column is going to be fed on 'timeAxis'.
{string} | Value of property dataType |
displayValue
. Display value for the dimension. Usually bound to some model field.
{any} | Value of property displayValue |
identity
. Id of the dimension as displayed in the chart
{string} | Value of property identity |
name
. Name of the dimension as displayed in the chart
{string} | Value of property name |
value
. Value for the dimension. Usually bound to some model field.
{any} | Value of property value |
axis
. Number of axis this dimension belongs to. Currently must be 1 or 2. Skip this property when use VizFrame.
When called with a value of null
or undefined
, the default value of the property will be restored.
{int} | iAxis | New value for property axis |
{sap.viz.ui5.data.DimensionDefinition} | Reference to this in order to allow method chaining |
dataType
. Data type of the dimension as displayed in the chart. Enumeration: string, number, date. Currently only in time series chart, it is required to set data type to 'date' if this column is going to be fed on 'timeAxis'.
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sDataType | New value for property dataType |
{sap.viz.ui5.data.DimensionDefinition} | Reference to this in order to allow method chaining |
displayValue
. Display value for the dimension. Usually bound to some model field.
When called with a value of null
or undefined
, the default value of the property will be restored.
{any} | oDisplayValue | New value for property displayValue |
{sap.viz.ui5.data.DimensionDefinition} | Reference to this in order to allow method chaining |
identity
. Id of the dimension as displayed in the chart
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sIdentity | New value for property identity |
{sap.viz.ui5.data.DimensionDefinition} | Reference to this in order to allow method chaining |
name
. Name of the dimension as displayed in the chart
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sName | New value for property name |
{sap.viz.ui5.data.DimensionDefinition} | Reference to this in order to allow method chaining |
value
. Value for the dimension. Usually bound to some model field.
When called with a value of null
or undefined
, the default value of the property will be restored.
{any} | oValue | New value for property value |
{sap.viz.ui5.data.DimensionDefinition} | Reference to this in order to allow method chaining |