Class sap.gantt.shape.ext.ulc.UlcMiddleLineModule: sap/gantt/shape/ext/ulc/UlcMiddleLine
This shape is used to draw a middle line, which indicates the position of 50%.
Graphic Effect is:
sClassName
and enriches it with the information contained in oClassInfo
.sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in sap.gantt.shape.Line.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 |
stroke
. Standard SVG 'stroke' attribute. See SVG 1.1 specification for 'stroke'. Note: You can provide the stroke 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".
{object} | oData | Shape data. |
{object} | oRowInfo | Information about the row and row data. |
{string} | Value of property stroke . |
strokeDasharray
. Standard SVG 'stroke-dasharray' attribute. See SVG 1.1 specification for 'stroke-dasharray'.
The default value is "5,5".
{object} | oData | Shape data. |
{object} | oRowInfo | Information about the row and row data. |
{string} | Value of property strokeDasharray . |
strokeWidth
. Standard SVG 'stroke-width' attribute. See SVG 1.1 specification for 'stroke-width'.
The default value is 1.
{object} | oData | Shape data. |
{object} | oRowInfo | Information about the row and row data. |
{number} | Value of property strokeWidth . |
x1
. x coordinate of the start of the line. See SVG 1.1 specification for 'x1' attribute of 'line'.
Usually an application does not configure this value. Instead, the getter calculates the value of x1 by using the view boundary for the visible area in the Gantt Chart.
{object} | oData | Shape data. |
{object} | oRowInfo | Information about the row and the row data. |
{number} | Value of property x1 . |
x2
. x coordinate of the end of the line. See SVG 1.1 specification for 'x2' attribute of 'line'.
Usually an application does not configure this value. Instead, the getter calculates the value of 'x2' by using the view boundary's terminal point, which is filtered by the visible area in a Gantt Chart.
{object} | oData | Shape data. |
{object} | oRowInfo | Information about the row and the row data. |
{number} | Value of property x2 . |
y1
. y coordinate of the start of the line. See SVG 1.1 specification for 'y1' attribute of 'line'.
At the top of each row, a certain amount of space (in the shape of a rectangular frame) is reserved for over capacity area. You can use 'maxVisibleRatio' in 'shapeConfig' to specify the amount of area to reserve. With the reserved area deducted from a row, the height of the middle line is set to 50% of the row height.
{object} | oData | Shape data. |
{object} | oRowInfo | Information about the row and the row data. |
{number} | Value of property y1 . |
y2
. y coordinate of the end of the line. See SVG 1.1 specification for 'y2' attribute of 'line'.
y2 shares the same value with y1.
{object} | oData | Shape data. |
{object} | oRowInfo | Information about the row and the row data. |
{number} | Value of property y2 . |