Class sap.viz.ui5.types.ScatterModule: sap/viz/ui5/types/Scatter
Module sap.viz.ui5.types.Scatter
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
- colorPalette : string[] (default: ???)
- shapePalette : string[] (default: ???)
- maxPriValue : float (default: 0)
- minPriValue : float (default: 0)
- maxSecValue : float (default: 0)
- minSecValue : float (default: 0)
- timeBased : boolean (default: false)
- drawingEffect : sap.viz.ui5.types.Scatter_drawingEffect (default: normal)
- formatRules : object[]
- showNegativeValues : boolean (default: true)
- markerSize : int (default: 10)
- Aggregations
- animation : sap.viz.ui5.types.Scatter_animation
- axisTooltip : sap.viz.ui5.types.Scatter_axisTooltip
- hoverline : sap.viz.ui5.types.Scatter_hoverline
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 |
animation
. {sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
animation
. Settings for animations in bubble and scatter charts
{sap.viz.ui5.types.Scatter_animation} |
colorPalette
. Set the color of the bubbles
Default value is ???
.
{string[]} | Value of property colorPalette |
drawingEffect
. Set the drawing effect for the bubbles
Default value is normal
.
{sap.viz.ui5.types.Scatter_drawingEffect} | Value of property drawingEffect |
formatRules
. Sample value for formatRules: [{condition: [{Key1:Value1, Key2:Value2}], color:"#00ff00"}, {condition: [{Key3:Value3}], color:"#00ffff"}]. Each rule has two properties: the "condition" and the "color". Value1, Value2 and Value3 are values.
The value of a dimension may be
1, Single value (string), like "China" .
2. Array (enumeration), like ["UK","USA"] .
The value of a measure may be
1, Single value (number), like 20 .
2. Arry (enumeration), like [121,122] .
3. Object (range), like {min:100, max 200} . Min and max are inclusive. If users want to inlcude 200, but not 100 in the range, they may use {min:100.00001, max:200}. If users want values larger than 100, they may write {min:100}.
The color is applied if one or more conditions in the condition array is met. If multiple rules could apply on the same data point, it is the last rule that takes effect.
{object[]} | Value of property formatRules |
markerSize
. Set the marker size for data points. The available range is from '4' to '32'.
Default value is 10
.
{int} | Value of property markerSize |
shapePalette
. Set the shape of the bubbles
Default value is ???
.
{string[]} | Value of property shapePalette |
animation
. {sap.viz.ui5.types.Scatter_animation} | oAnimation | The animation to set |
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
colorPalette
. Set the color of the bubbles
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is ???
.
{string[]} | sColorPalette | New value for property colorPalette |
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
drawingEffect
. Set the drawing effect for the bubbles
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is normal
.
{sap.viz.ui5.types.Scatter_drawingEffect} | sDrawingEffect | New value for property drawingEffect |
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
formatRules
. Sample value for formatRules: [{condition: [{Key1:Value1, Key2:Value2}], color:"#00ff00"}, {condition: [{Key3:Value3}], color:"#00ffff"}]. Each rule has two properties: the "condition" and the "color". Value1, Value2 and Value3 are values.
The value of a dimension may be
1, Single value (string), like "China" .
2. Array (enumeration), like ["UK","USA"] .
The value of a measure may be
1, Single value (number), like 20 .
2. Arry (enumeration), like [121,122] .
3. Object (range), like {min:100, max 200} . Min and max are inclusive. If users want to inlcude 200, but not 100 in the range, they may use {min:100.00001, max:200}. If users want values larger than 100, they may write {min:100}.
The color is applied if one or more conditions in the condition array is met. If multiple rules could apply on the same data point, it is the last rule that takes effect.
When called with a value of null
or undefined
, the default value of the property will be restored.
{object[]} | sFormatRules | New value for property formatRules |
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
markerSize
. Set the marker size for data points. The available range is from '4' to '32'.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 10
.
{int} | iMarkerSize | New value for property markerSize |
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
shapePalette
. Set the shape of the bubbles
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is ???
.
{string[]} | sShapePalette | New value for property shapePalette |
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
axisTooltip
. - Deprecated:
- Since version 1.19. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
hoverline
. - Deprecated:
- Since version 1.19. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
axisTooltip
. Set tooltip related properties.
- Deprecated:
- Since version 1.19. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.Scatter_axisTooltip} |
hoverline
. Settings for hoverline properties.
- Deprecated:
- Since version 1.19. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.Scatter_hoverline} |
maxPriValue
. Set the max value of primary values
Default value is 0
.
- Deprecated:
- Since version 1.20. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{float} | Value of property maxPriValue |
maxSecValue
. Set the max value of secondary values
Default value is 0
.
- Deprecated:
- Since version 1.20. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{float} | Value of property maxSecValue |
minPriValue
. Set the minimum value of primary values
Default value is 0
.
- Deprecated:
- Since version 1.20. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{float} | Value of property minPriValue |
minSecValue
. Set the minimum value of secondary values
Default value is 0
.
- Deprecated:
- Since version 1.20. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{float} | Value of property minSecValue |
showNegativeValues
. Show/hide the data of negetive value.
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 showNegativeValues |
timeBased
. Set whether it is time based scatter/bubble
Default value is false
.
- Deprecated:
- Since version 1.20. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{boolean} | Value of property timeBased |
axisTooltip
. {sap.viz.ui5.types.Scatter_axisTooltip} | oAxisTooltip | The axisTooltip to set |
- Deprecated:
- Since version 1.19. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
hoverline
. {sap.viz.ui5.types.Scatter_hoverline} | oHoverline | The hoverline to set |
- Deprecated:
- Since version 1.19. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
maxPriValue
. Set the max value of primary values
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0
.
{float} | fMaxPriValue | New value for property maxPriValue |
- Deprecated:
- Since version 1.20. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
maxSecValue
. Set the max value of secondary values
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0
.
{float} | fMaxSecValue | New value for property maxSecValue |
- Deprecated:
- Since version 1.20. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
minPriValue
. Set the minimum value of primary values
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0
.
{float} | fMinPriValue | New value for property minPriValue |
- Deprecated:
- Since version 1.20. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
minSecValue
. Set the minimum value of secondary values
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 0
.
{float} | fMinSecValue | New value for property minSecValue |
- Deprecated:
- Since version 1.20. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |
showNegativeValues
. Show/hide the data of negetive value.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is true
.
{boolean} | bShowNegativeValues | New value for property showNegativeValues |
- 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.Scatter} | Reference to this in order to allow method chaining |
timeBased
. Set whether it is time based scatter/bubble
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is false
.
{boolean} | bTimeBased | New value for property timeBased |
- Deprecated:
- Since version 1.20. This Property has been deprecated. This interface will be removed from the SAPUI5 delivery in one of the next releases.
{sap.viz.ui5.types.Scatter} | Reference to this in order to allow method chaining |