Class sap.gantt.shape.ext.ubc.UbcUsedPolygonModule: sap/gantt/shape/ext/ubc/UbcUsedPolygon

extends UbcPolygon

This shape is used to represent a healthy planned capacity area.

Graphic Effect is:

Constructor Summary
new sap.gantt.shape.ext.ubc.UbcUsedPolygon(sId?, mSettings?)Creates and initializes a fragment of the Utilization Line Chart.
Method Summary
sap.gantt.shape.ext.ubc.UbcUsedPolygon.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcUsedPolygon with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.shape.ext.ubc.UbcUsedPolygon.getMetadata()Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcUsedPolygon.
getFill(oData, oRowInfo)Gets the value of property fill.
getPoints(oData, oRowInfo)Gets the value of property points.
Methods borrowed from class sap.gantt.shape.Polygon
Constructor Detail
new sap.gantt.shape.ext.ubc.UbcUsedPolygon(sId?, mSettings?)
Creates and initializes a fragment of the Utilization Line Chart.
Parameters:
{string}sId? ID for the new control, generated automatically if no ID is given
{object}mSettings? Initial settings of the new control
Method Detail
sap.gantt.shape.ext.ubc.UbcUsedPolygon.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcUsedPolygon with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.gantt.shape.ext.ubc.UbcPolygon.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.gantt.shape.ext.ubc.UbcUsedPolygon.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcUsedPolygon.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getFill(oData, oRowInfo): string
Gets the value of property fill.

Standard SVG 'fill' attribute. See SVG 1.1 specification for 'fill'. Note: You can provide the fill attribute with HTML colors and the URL reference to a paint server. Paint server definitions can be retrieved from paint servers rendered by sap.gantt.GanttChartContainer, sap.gantt.GanttChartWithTable, or sap.gantt.GanttChart.

The default value is "#CAC7BA".

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{string} Value of property fill.
getPoints(oData, oRowInfo): string
Gets the value of property points.

points attribute of polygon element. See SVG 1.1 specification for 'points' attribute of 'polygon'. The value of 'points' is calculated by using the coordinates of all points for the healthy planned capacity area.

Parameters:
{object}oData Shape data.
{object}oRowInfo Information about the row and row data.
Returns:
{string} Value of property points.