Class sap.viz.ui5.types.BulletModule: sap/viz/ui5/types/Bullet


Module sap.viz.ui5.types.Bullet

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.
Constructor Summary
new sap.viz.ui5.types.Bullet(sId?, mSettings?)Constructor for a new sap.viz.ui5.types.Bullet

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers.

Method Summary
sap.viz.ui5.types.Bullet.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.viz.ui5.types.Bullet with name sClassName and enriches it with the information contained in oClassInfo.
sap.viz.ui5.types.Bullet.getMetadata()Returns a metadata object for class sap.viz.ui5.types.Bullet.
getColorPalette()Gets current value of property colorPalette.
getDrawingEffect()Gets current value of property drawingEffect.
getReferenceValuesColorPalette()Gets current value of property referenceValuesColorPalette.
setColorPalette(sColorPalette)Sets a new value for property colorPalette.
setDrawingEffect(sDrawingEffect)Sets a new value for property drawingEffect.
setReferenceValuesColorPalette(sReferenceValuesColorPalette)Sets a new value for property referenceValuesColorPalette.
destroyToolTip()Destroys the toolTip in the aggregation toolTip.
getIsRoundCorner()Gets current value of property isRoundCorner.
getOrientation()Gets current value of property orientation.
getPrimaryValuesColorPalette()Gets current value of property primaryValuesColorPalette.
getSecondaryValuesColorPalette()Gets current value of property secondaryValuesColorPalette.
getToolTip()Gets content of aggregation toolTip.
setIsRoundCorner(bIsRoundCorner)Sets a new value for property isRoundCorner.
setOrientation(sOrientation)Sets a new value for property orientation.
setPrimaryValuesColorPalette(sPrimaryValuesColorPalette)Sets a new value for property primaryValuesColorPalette.
setSecondaryValuesColorPalette(sSecondaryValuesColorPalette)Sets a new value for property secondaryValuesColorPalette.
setToolTip(oToolTip)Sets the aggregated toolTip.
Constructor Detail
new sap.viz.ui5.types.Bullet(sId?, mSettings?)
Constructor for a new sap.viz.ui5.types.Bullet

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.viz.ui5.core.BaseStructuredType 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
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.

Method Detail
sap.viz.ui5.types.Bullet.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.viz.ui5.types.Bullet 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.core.BaseStructuredType.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.types.Bullet.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.viz.ui5.types.Bullet.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getColorPalette(): string[]
Gets current value of property colorPalette.

Set the color palette for the chart.

Default value is ???.

Returns:
{string[]} Value of property colorPalette
Gets current value of property drawingEffect.

Set the drawing effect for the plot area. If this value is set to 'glossy', the plot area is glossy. If this value is set to 'normal', the plot area is matte.

Default value is normal.

Returns:
{sap.viz.ui5.types.Bullet_drawingEffect} Value of property drawingEffect
getReferenceValuesColorPalette(): string[]
Gets current value of property referenceValuesColorPalette.

Set the color palette reference value color in bullet chart.

Default value is ???.

Returns:
{string[]} Value of property referenceValuesColorPalette
setColorPalette(sColorPalette): sap.viz.ui5.types.Bullet
Sets a new value for property colorPalette.

Set the color palette for the chart.

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

Default value is ???.

Parameters:
{string[]}sColorPalette New value for property colorPalette
Returns:
{sap.viz.ui5.types.Bullet} Reference to this in order to allow method chaining
setDrawingEffect(sDrawingEffect): sap.viz.ui5.types.Bullet
Sets a new value for property drawingEffect.

Set the drawing effect for the plot area. If this value is set to 'glossy', the plot area is glossy. If this value is set to 'normal', the plot area is matte.

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

Default value is normal.

Parameters:
{sap.viz.ui5.types.Bullet_drawingEffect}sDrawingEffect New value for property drawingEffect
Returns:
{sap.viz.ui5.types.Bullet} Reference to this in order to allow method chaining
setReferenceValuesColorPalette(sReferenceValuesColorPalette): sap.viz.ui5.types.Bullet
Sets a new value for property referenceValuesColorPalette.

Set the color palette reference value color in bullet chart.

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

Default value is ???.

Parameters:
{string[]}sReferenceValuesColorPalette New value for property referenceValuesColorPalette
Returns:
{sap.viz.ui5.types.Bullet} Reference to this in order to allow method chaining
destroyToolTip(): sap.viz.ui5.types.Bullet
Destroys the toolTip in the aggregation toolTip.
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.
Returns:
{sap.viz.ui5.types.Bullet} Reference to this in order to allow method chaining
getIsRoundCorner(): boolean
Gets current value of property isRoundCorner.

Set whether bars have rounded corners

Default value is false.

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.
Returns:
{boolean} Value of property isRoundCorner
Gets current value of property orientation.

Set the orientation of the plot area.

Default value is vertical.

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.
Returns:
{sap.viz.ui5.types.Bullet_orientation} Value of property orientation
getPrimaryValuesColorPalette(): string[]
Gets current value of property primaryValuesColorPalette.

Set the color palette for axis 1 in dual charts.

Default value is ???.

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.
Returns:
{string[]} Value of property primaryValuesColorPalette
getSecondaryValuesColorPalette(): string[]
Gets current value of property secondaryValuesColorPalette.

Set the color palette for axis 2 in dual chart.

Default value is ???.

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.
Returns:
{string[]} Value of property secondaryValuesColorPalette
Gets content of aggregation toolTip.

Settings for tooltip related properties

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.
Returns:
{sap.viz.ui5.types.Bullet_tooltip}
setIsRoundCorner(bIsRoundCorner): sap.viz.ui5.types.Bullet
Sets a new value for property isRoundCorner.

Set whether bars have rounded corners

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

Default value is false.

Parameters:
{boolean}bIsRoundCorner New value for property isRoundCorner
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.
Returns:
{sap.viz.ui5.types.Bullet} Reference to this in order to allow method chaining
setOrientation(sOrientation): sap.viz.ui5.types.Bullet
Sets a new value for property orientation.

Set the orientation of the plot area.

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

Default value is vertical.

Parameters:
{sap.viz.ui5.types.Bullet_orientation}sOrientation New value for property orientation
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.
Returns:
{sap.viz.ui5.types.Bullet} Reference to this in order to allow method chaining
setPrimaryValuesColorPalette(sPrimaryValuesColorPalette): sap.viz.ui5.types.Bullet
Sets a new value for property primaryValuesColorPalette.

Set the color palette for axis 1 in dual charts.

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

Default value is ???.

Parameters:
{string[]}sPrimaryValuesColorPalette New value for property primaryValuesColorPalette
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.
Returns:
{sap.viz.ui5.types.Bullet} Reference to this in order to allow method chaining
setSecondaryValuesColorPalette(sSecondaryValuesColorPalette): sap.viz.ui5.types.Bullet
Sets a new value for property secondaryValuesColorPalette.

Set the color palette for axis 2 in dual chart.

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

Default value is ???.

Parameters:
{string[]}sSecondaryValuesColorPalette New value for property secondaryValuesColorPalette
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.
Returns:
{sap.viz.ui5.types.Bullet} Reference to this in order to allow method chaining
setToolTip(oToolTip): sap.viz.ui5.types.Bullet
Sets the aggregated toolTip.
Parameters:
{sap.viz.ui5.types.Bullet_tooltip}oToolTip The toolTip to set
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.
Returns:
{sap.viz.ui5.types.Bullet} Reference to this in order to allow method chaining