Class sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygonModule: sap/gantt/shape/ext/ubc/UbcUnderCapacityZonePolygon

extends UbcPolygon

This shape is used to represent an unplanned capacity area.

Graphic Effect is:

Constructor Summary
new sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon(sId?, mSettings?)Creates and initializes a fragment of the Utilization Line Chart.
Method Summary
sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon with name sClassName and enriches it with the information contained in oClassInfo.
sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon.getMetadata()Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon.
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.UbcUnderCapacityZonePolygon(sId?, mSettings?)
Creates and initializes a fragment of the Utilization Line Chart.
Parameters:
{string}sId? ID of 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.UbcUnderCapacityZonePolygon.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon 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.UbcUnderCapacityZonePolygon.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.gantt.shape.ext.ubc.UbcUnderCapacityZonePolygon.
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 "#40d44c".

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 the polygon element. See SVG 1.1 specification for the 'points' attribute of 'polygon'. The value of 'points' is calculated by using the coordinates of all points of the unplanned capacity area.

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