sap.gantt.shape.ext.Triangle.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.gantt.shape.ext.Triangle with name sClassName and enriches it with the information contained in oClassInfo.
setDistanceOfyAxisHeight(sDistanceOfyAxisHeight)Sets a new value for property distanceOfyAxisHeight.
setHeight(sHeight)Sets a new value for property height.
setIsClosed(bIsClosed)Sets a new value for property isClosed.
Constructor Detail
new sap.gantt.shape.ext.Triangle(sId?, mSettings?)
Creates and initializes a new Triangle class.
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.
Your application should not configure this value. Instead, the getter calculates the value of d by using properties time, base, height, and distanceOfyAxisHeight. The value of these properties can be retrieved from the corresponding getters (getTime, getBase, getHeight, and getDistanceOfyAxisHeight).
Parameters:
{object}
oData
Shape data.
{object}
oRowInfo
Information about the row and row data.
Returns:
{string}
Value of property d.
getDistanceOfyAxisHeight(oData, oRowInfo): number
Gets the value of property distanceOfyAxisHeight.
distanceOfyAxisHeight of a triangle, which refers to the distance between the left point to the altitude of the triangle.