Class sap.viz.ui5.types.RootContainer_layoutModule: sap/viz/ui5/types/RootContainer_layout
Settings for the layout of the root container
Deprecated API:Since version 1.32.0. The chart controls in the sap.viz.ui5
package (which were always marked as experimental) have been deprecated since 1.32.0. They are no longer actively developed and won't receive new features or improvements, only important bug fixes. They will only remain in the SAPUI5 distribution for backward compatibility.
SAP strongly recommends that existing consumers of those controls migrate to the new VizFrame control to benefit from new charting enhancements and timely support.
Note: As the feature set, design and API usage of VizFrame might differ from the old chart controls, make sure you evaluate it thoroughly before migration.
Experimental API:Since version 1.7.2. Charting API is not finished yet and might change completely.
Since: 1.7.2.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
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:
- Properties
- adjustPolicy : string
- padding : int (default: 24)
- paddingTop : int
- paddingLeft : int
- paddingRight : int
- paddingBottom : int
- vgap : int (default: 8)
- hgap : int (default: 8)
- hideAxisTitleFirst : boolean (default: true)
In addition, all settings applicable to the base type sap.viz.ui5.core.BaseStructuredType 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.32.0. The chart controls in the
sap.viz.ui5
package (which were always marked as experimental) have been deprecated since 1.32.0. They are no longer actively developed and won't receive new features or improvements, only important bug fixes. They will only remain in the SAPUI5 distribution for backward compatibility.SAP strongly recommends that existing consumers of those controls migrate to the new VizFrame control to benefit from new charting enhancements and timely support.
Note: As the feature set, design and API usage of VizFrame might differ from the old chart controls, make sure you evaluate it thoroughly before migration.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.viz.ui5.core.BaseStructuredType.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 |
padding
. Set the universal padding value. This single value is applied to all sides of the chart. Individual settings for each edge are also supported.
Default value is 24
.
{int} | Value of property padding |
paddingBottom
. Set the padding value for the bottom side
{int} | Value of property paddingBottom |
paddingLeft
. Set the padding value for the left side
{int} | Value of property paddingLeft |
paddingRight
. Set the padding value for the right side
{int} | Value of property paddingRight |
paddingTop
. Set the padding value for the top side
{int} | Value of property paddingTop |
padding
. Set the universal padding value. This single value is applied to all sides of the chart. Individual settings for each edge are also supported.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 24
.
{int} | iPadding | New value for property padding |
{sap.viz.ui5.types.RootContainer_layout} | Reference to this in order to allow method chaining |
paddingBottom
. Set the padding value for the bottom side
When called with a value of null
or undefined
, the default value of the property will be restored.
{int} | iPaddingBottom | New value for property paddingBottom |
{sap.viz.ui5.types.RootContainer_layout} | Reference to this in order to allow method chaining |
paddingLeft
. Set the padding value for the left side
When called with a value of null
or undefined
, the default value of the property will be restored.
{int} | iPaddingLeft | New value for property paddingLeft |
{sap.viz.ui5.types.RootContainer_layout} | Reference to this in order to allow method chaining |
paddingRight
. Set the padding value for the right side
When called with a value of null
or undefined
, the default value of the property will be restored.
{int} | iPaddingRight | New value for property paddingRight |
{sap.viz.ui5.types.RootContainer_layout} | Reference to this in order to allow method chaining |
paddingTop
. Set the padding value for the top side
When called with a value of null
or undefined
, the default value of the property will be restored.
{int} | iPaddingTop | New value for property paddingTop |
{sap.viz.ui5.types.RootContainer_layout} | Reference to this in order to allow method chaining |
adjustPolicy
. Indicates the layout adjust policy
- Deprecated:
- Since version 1.12. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{string} | Value of property adjustPolicy |
hgap
. Horizontal gap value between UI components
Default value is 8
.
- Deprecated:
- Since version 1.12. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{int} | Value of property hgap |
hideAxisTitleFirst
. Hide axis title firstly if the space is limited.
Default value is true
.
- Deprecated:
- Since version 1.12. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{boolean} | Value of property hideAxisTitleFirst |
vgap
. Vertical gap value between UI components
Default value is 8
.
- Deprecated:
- Since version 1.12. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{int} | Value of property vgap |
adjustPolicy
. Indicates the layout adjust policy
When called with a value of null
or undefined
, the default value of the property will be restored.
{string} | sAdjustPolicy | New value for property adjustPolicy |
- Deprecated:
- Since version 1.12. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.RootContainer_layout} | Reference to this in order to allow method chaining |
hgap
. Horizontal gap value between UI components
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 8
.
{int} | iHgap | New value for property hgap |
- Deprecated:
- Since version 1.12. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.RootContainer_layout} | Reference to this in order to allow method chaining |
hideAxisTitleFirst
. Hide axis title firstly if the space is limited.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bHideAxisTitleFirst | New value for property hideAxisTitleFirst |
- Deprecated:
- Since version 1.12. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.RootContainer_layout} | Reference to this in order to allow method chaining |
vgap
. Vertical gap value between UI components
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 8
.
{int} | iVgap | New value for property vgap |
- Deprecated:
- Since version 1.12. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.RootContainer_layout} | Reference to this in order to allow method chaining |