Class sap.viz.ui5.types.Datatransform_dataSamplingModule: sap/viz/ui5/types/Datatransform_dataSampling
Settings for the data sampling algorithm
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
- enable : boolean (default: false)
- sizeFactor : int (default: 1)
- numberPrecondition : int (default: 3000)
- Aggregations
- grid : sap.viz.ui5.types.Datatransform_dataSampling_grid
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 |
grid
. {sap.viz.ui5.types.Datatransform_dataSampling} | Reference to this in order to allow method chaining |
enable
. Set whether data sampling is enabled.
Default value is false
.
{boolean} | Value of property enable |
grid
. add documentation for aggregation grid
{sap.viz.ui5.types.Datatransform_dataSampling_grid} |
numberPrecondition
. If the data point is larger than this value, data sampling is triggered.
Default value is 3000
.
{int} | Value of property numberPrecondition |
sizeFactor
. Set the data point percentage in the original dataset
Default value is 1
.
{int} | Value of property sizeFactor |
enable
. Set whether data sampling is enabled.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
{boolean} | bEnable | New value for property enable |
{sap.viz.ui5.types.Datatransform_dataSampling} | Reference to this in order to allow method chaining |
grid
. {sap.viz.ui5.types.Datatransform_dataSampling_grid} | oGrid | The grid to set |
{sap.viz.ui5.types.Datatransform_dataSampling} | Reference to this in order to allow method chaining |
numberPrecondition
. If the data point is larger than this value, data sampling is triggered.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 3000
.
{int} | iNumberPrecondition | New value for property numberPrecondition |
{sap.viz.ui5.types.Datatransform_dataSampling} | Reference to this in order to allow method chaining |
sizeFactor
. Set the data point percentage in the original dataset
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 1
.
{int} | iSizeFactor | New value for property sizeFactor |
{sap.viz.ui5.types.Datatransform_dataSampling} | Reference to this in order to allow method chaining |