Abstract Class sap.gantt.GanttChartBaseModule: sap/gantt/GanttChartBase
Base class for all Gantt charts.
This base class defines:
- Basic properties and aggregations.
- Metadata required integrate with GanttChartContainer.
GanttChartBase: sap.gantt.GanttChart- A chart area that contains rows along the vertical axis and a time scale along the horizontal axis.sap.gantt.GanttChartWithTable- A tree table and a chart area separated by a splitter with rows synchronized.
sClassName and enriches it with the information contained in oClassInfo.fnFunction to the chartClick event of this sap.gantt.GanttChartBase.fnFunction to the chartDoubleClick event of this sap.gantt.GanttChartBase.fnFunction to the chartDragEnter event of this sap.gantt.GanttChartBase.fnFunction to the chartDragLeave event of this sap.gantt.GanttChartBase.fnFunction to the chartMouseOver event of this sap.gantt.GanttChartBase.fnFunction to the chartRightClick event of this sap.gantt.GanttChartBase.fnFunction to the ganttChartSwitchRequested event of this sap.gantt.GanttChartBase.fnFunction to the horizontalScroll event of this sap.gantt.GanttChartBase.fnFunction to the relationshipSelectionChange event of this sap.gantt.GanttChartBase.fnFunction to the rowSelectionChange event of this sap.gantt.GanttChartBase.fnFunction to the shapeDragEnd event of this sap.gantt.GanttChartBase.fnFunction to the shapeSelectionChange event of this sap.gantt.GanttChartBase.fnFunction to the splitterResize event of this sap.gantt.GanttChartBase.fnFunction to the treeTableToggleEvent event of this sap.gantt.GanttChartBase.fnFunction to the verticalScroll event of this sap.gantt.GanttChartBase.fnFunction from the chartClick event of this sap.gantt.GanttChartBase.fnFunction from the chartDoubleClick event of this sap.gantt.GanttChartBase.fnFunction from the chartDragEnter event of this sap.gantt.GanttChartBase.fnFunction from the chartDragLeave event of this sap.gantt.GanttChartBase.fnFunction from the chartMouseOver event of this sap.gantt.GanttChartBase.fnFunction from the chartRightClick event of this sap.gantt.GanttChartBase.fnFunction from the ganttChartSwitchRequested event of this sap.gantt.GanttChartBase.fnFunction from the horizontalScroll event of this sap.gantt.GanttChartBase.fnFunction from the relationshipSelectionChange event of this sap.gantt.GanttChartBase.fnFunction from the rowSelectionChange event of this sap.gantt.GanttChartBase.fnFunction from the shapeDragEnd event of this sap.gantt.GanttChartBase.fnFunction from the shapeSelectionChange event of this sap.gantt.GanttChartBase.fnFunction from the splitterResize event of this sap.gantt.GanttChartBase.fnFunction from the treeTableToggleEvent event of this sap.gantt.GanttChartBase.fnFunction from the verticalScroll event of this sap.gantt.GanttChartBase.ganttChartSwitchRequested to attached listeners.relationshipSelectionChange to attached listeners.sap.ui.core.Control in the aggregation relationships. 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:
- Properties
- width : sap.ui.core.CSSSize (default: 100%)
- height : sap.ui.core.CSSSize (default: 100%)
- enableCursorLine : boolean (default: true)
- enableNowLine : boolean (default: true)
- enableVerticalLine : boolean (default: true)
- timeZoomRate : float (default: 1)
- mode : string (default: sap.gantt.config.DEFAULT_MODE_KEY)
- selectionMode : sap.gantt.SelectionMode (default: MultiWithKeyboard)
- selectionPanelSize : sap.ui.core.CSSSize (default: 30%)
- hierarchyKey : string (default: sap.gantt.config.DEFAULT_HIERARCHY_KEY)
- baseRowHeight : int
- svgDefs : sap.gantt.def.SvgDefs
- timeAxis : sap.gantt.config.TimeAxis (default: sap.gantt.config.DEFAULT_TIME_AXIS)
- modes : array (default: sap.gantt.config.DEFAULT_MODES)
- toolbarSchemes : array (default: sap.gantt.config.DEFAULT_GANTTCHART_TOOLBAR_SCHEMES)
- hierarchies : array (default: sap.gantt.config.DEFAULT_HIERARCHYS)
- objectTypes : array (default: sap.gantt.config.DEFAULT_OBJECT_TYPES)
- chartSchemes : array (default: sap.gantt.config.DEFAULT_CHART_SCHEMES)
- locale : sap.gantt.config.Locale (default: sap.gantt.config.DEFAULT_LOCALE_CET)
- shapeDataNames : array (default: [])
- shapes : array (default: [])
- Aggregations
- rows : sap.ui.core.Control[]
- relationships : sap.ui.core.Control[]
- calendarDef : sap.gantt.def.cal.CalendarDefs
- Events
- ganttChartSwitchRequested : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- splitterResize : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- horizontalScroll : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- verticalScroll : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- chartMouseOver : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- chartClick : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- chartDoubleClick : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- chartRightClick : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- chartDragEnter : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- chartDragLeave : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- rowSelectionChange : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- relationshipSelectionChange : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- shapeSelectionChange : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- shapeDragEnd : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
- treeTableToggleEvent : fnListenerFunction or [fnListenerFunction, oListenerObject] or [oData, fnListenerFunction, oListenerObject]
In addition, all settings applicable to the base type sap.ui.core.Control can be used as well.
| {string} | sId? | ID for the new control, generated automatically if no id is given |
| {object} | mSettings? | Initial settings for the new control |
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {object} | oControlEvent.getParameters.objectInfo | Row object information of the current mouse point. |
| {object} | oControlEvent.getParameters.leadingRowInfo | Leading row object information. null when it is the main row at current mouse point; main row information if it is one of multiple expanded rows. |
| {string} | oControlEvent.getParameters.timestamp | Timestamp of the current mouse point. |
| {string} | oControlEvent.getParameters.svgId | ID of SVG. |
| {int[]} | oControlEvent.getParameters.svgCoordinate | [x, y] Coordinate of the current mouse point in the SVG coordinate system. |
| {string} | oControlEvent.getParameters.effectingMode | Effective mode. It can be the current Gantt Chart mode or the mode derived from the chart scheme mode. |
| {object} | oControlEvent.getParameters.originEvent | Original JQuery event object. |
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {object} | oControlEvent.getParameters.objectInfo | Row object information of the current mouse point. |
| {object} | oControlEvent.getParameters.leadingRowInfo | Leading row object information. null when it is the main row at current mouse point; main row information if it is one of multiple expanded rows. |
| {string} | oControlEvent.getParameters.timestamp | Timestamp of the current mouse point. |
| {string} | oControlEvent.getParameters.svgId | ID of SVG. |
| {int[]} | oControlEvent.getParameters.svgCoordinate | [x, y] Coordinate of the current mouse point in the SVG coordinate system. |
| {string} | oControlEvent.getParameters.effectingMode | Effective mode. It can be the current Gantt Chart mode or the mode derived from the chart scheme mode. |
| {object} | oControlEvent.getParameters.originEvent | Original JQuery event object. |
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {object} | oControlEvent.getParameters.originEvent |
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {object} | oControlEvent.getParameters.originEvent | |
| {object} | oControlEvent.getParameters.draggingSource |
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {object} | oControlEvent.getParameters.objectInfo | Row object information of the current mouse point. |
| {object} | oControlEvent.getParameters.leadingRowInfo | Leading row object information. null when it is the main row at current mouse point; main row information if it is one of multiple expanded rows. |
| {string} | oControlEvent.getParameters.timestamp | Timestamp of the current mouse point. |
| {string} | oControlEvent.getParameters.svgId | ID of SVG. |
| {int[]} | oControlEvent.getParameters.svgCoordinate | [x, y] Coordinate of the current mouse point in the SVG coordinate system. |
| {string} | oControlEvent.getParameters.effectingMode | Effective mode. It can be the current Gantt Chart mode or the mode derived from the chart scheme mode. |
| {object} | oControlEvent.getParameters.originEvent | Original JQuery event object. |
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {object} | oControlEvent.getParameters.objectInfo | Row object information of the current mouse point. |
| {object} | oControlEvent.getParameters.leadingRowInfo | Leading row object information. null when it is the main row at current mouse point; main row information if it is one of multiple expanded rows. |
| {string} | oControlEvent.getParameters.timestamp | Timestamp of the current mouse point. |
| {string} | oControlEvent.getParameters.svgId | ID of SVG. |
| {int[]} | oControlEvent.getParameters.svgCoordinate | [x, y] Coordinate of the current mouse point in the SVG coordinate system. |
| {string} | oControlEvent.getParameters.effectingMode | Effective mode. It can be the current Gantt Chart mode or a mode derived from the chart scheme mode. |
| {object} | oControlEvent.getParameters.originEvent | Original JQuery event object. |
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {string} | oControlEvent.getParameters.hierarchyKey | Target hierarchy key. |
If the horizontal scroll bar exists and synchronization is needed with other Gantt charts in the container, use this event.
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {int} | oControlEvent.getParameters.scrollSteps | Scroll steps. |
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {object} | oControlEvent.getParameters.originEvent | Original JQuery event object. |
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {object} | oControlEvent.getParameters.originEvent | Original JQuery event object. |
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {object} | oControlEvent.getParameters.originEvent | Original JQuery event object. |
| {object[]} | oControlEvent.getParameters.sourceShapeData | List of source shape data. |
| {string} | oControlEvent.getParameters.sourceSvgId | Source SVG ID. |
| {object[]} | oControlEvent.getParameters.targetData | List of target shape data. Sorted by shape level. |
| {string} | oControlEvent.getParameters.targetSvgId | Target SVG ID. |
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {object} | oControlEvent.getParameters.originEvent | Original JQuery event object. |
If a splitter exists and synchronization is needed with other Gantt charts in the container, use this event. You can listen for this event and obtain zoomInfo.
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {string} | oControlEvent.getParameters.id | ID of the source control. |
| {int[]} | oControlEvent.getParameters.oldSizes | Old size in the form of [height, width]. |
| {int[]} | oControlEvent.getParameters.newSizes | New size in the form of [height, width]. |
| {object} | oControlEvent.getParameters.zoomInfo | Zoom information. This object contains all related information for the listener to get the current zoom level of the time axis. Usually
|
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {int} | oControlEvent.getParameters.rowIndex | The index of the expanded/collapsed row. |
| {object} | oControlEvent.getParameters.rowContext | The binding context of the selected row. |
| {boolean} | oControlEvent.getParameters.expanded | flag whether the node has been expanded or collapsed. |
If the vertical scroll bar exists and synchronization is needed with other Gantt charts in the container, use this event.
| {sap.ui.base.Event} | oControlEvent | |
| {sap.ui.base.EventProvider} | oControlEvent.getSource | |
| {object} | oControlEvent.getParameters | |
| {int} | oControlEvent.getParameters.scrollSteps | Scroll steps. |
sClassName and enriches it with the information contained in oClassInfo. oClassInfo might contain the same kind of information as described in sap.ui.core.Control.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 |
relationships. | {sap.ui.core.Control} | oRelationship | the relationship to add; if empty, nothing is inserted |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
rows. | {sap.ui.core.Control} | oRow | the row to add; if empty, nothing is inserted |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the chartClick event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Event fired when the chart is clicked
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the chartDoubleClick event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Event fired when the chart is double-clicked
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the chartDragEnter event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the chartDragLeave event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the chartMouseOver event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Event is fired when a mouse-hover occurs in the graphic part.
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the chartRightClick event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Event fired when the chart is right-clicked
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the ganttChartSwitchRequested event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Event fired when the hierarchy key has changed in the Gantt chart toolbar.
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the horizontalScroll event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Horizontal (time axis) scroll.
If the horizontal scroll bar exists and synchronization is needed with other Gantt charts in the container, use this event.
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the relationshipSelectionChange event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Event fired when the selection status of relationships changes.
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the rowSelectionChange event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Event fired when the selection status of rows changes.
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the shapeDragEnd event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Event fired when a drag-and-drop occurs on one or more selected shapes.
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the shapeSelectionChange event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Event fired when the selection status of shapes changes.
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the splitterResize event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Splitter (if exists) resized.
If a splitter exists and synchronization is needed with other Gantt charts in the container, use this event. You can listen for this event and obtain zoomInfo.
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the treeTableToggleEvent event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Event fired when toggle node of the tree table.
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction to the verticalScroll event of this sap.gantt.GanttChartBase. When called, the context of the event handler (its this) will be bound to oListener if specified, otherwise it will be bound to this sap.gantt.GanttChartBase itself.
Vertical (row axis) scroll.
If the vertical scroll bar exists and synchronization is needed with other Gantt charts in the container, use this event.
| {object} | oData? | An application-specific payload object that will be passed to the event handler along with the event object when firing the event |
| {function} | fnFunction | The function to be called when the event occurs |
| {object} | oListener? | Context object to call the event handler with. Defaults to this sap.gantt.GanttChartBase itself |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
calendarDef to model data. See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo.
| {object} | oBindingInfo | The binding information |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
relationships to model data. See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo.
| {object} | oBindingInfo | The binding information |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
rows to model data. See ManagedObject.bindAggregation for a detailed description of the possible properties of oBindingInfo.
| {object} | oBindingInfo | The binding information |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
calendarDef. | {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
relationships. | {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
rows. | {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the chartClick event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the chartDoubleClick event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the chartDragEnter event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the chartDragLeave event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the chartMouseOver event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the chartRightClick event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the ganttChartSwitchRequested event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the horizontalScroll event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the relationshipSelectionChange event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the rowSelectionChange event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the shapeDragEnd event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the shapeSelectionChange event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the splitterResize event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the treeTableToggleEvent event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
fnFunction from the verticalScroll event of this sap.gantt.GanttChartBase. The passed function and listener object must match the ones used for event registration.
| {function} | fnFunction | The function to be called, when the event occurs |
| {object} | oListener | Context object on which the given function had to be called |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
chartClick to attached listeners. Expects the following event parameters:
objectInfoof typeobjectRow object information of the current mouse point.leadingRowInfoof typeobjectLeading row object information. null when it is the main row at current mouse point; main row information if it is one of multiple expanded rows.timestampof typestringTimestamp of the current mouse point.svgIdof typestringID of SVG.svgCoordinateof typeint[][x, y] Coordinate of the current mouse point in the SVG coordinate system.effectingModeof typestringEffective mode. It can be the current Gantt Chart mode or the mode derived from the chart scheme mode.originEventof typeobjectOriginal JQuery event object.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
chartDoubleClick to attached listeners. Expects the following event parameters:
objectInfoof typeobjectRow object information of the current mouse point.leadingRowInfoof typeobjectLeading row object information. null when it is the main row at current mouse point; main row information if it is one of multiple expanded rows.timestampof typestringTimestamp of the current mouse point.svgIdof typestringID of SVG.svgCoordinateof typeint[][x, y] Coordinate of the current mouse point in the SVG coordinate system.effectingModeof typestringEffective mode. It can be the current Gantt Chart mode or the mode derived from the chart scheme mode.originEventof typeobjectOriginal JQuery event object.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
chartDragEnter to attached listeners. Expects the following event parameters:
originEventof typeobject
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
chartDragLeave to attached listeners. Expects the following event parameters:
originEventof typeobjectdraggingSourceof typeobject
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
chartMouseOver to attached listeners. Expects the following event parameters:
objectInfoof typeobjectRow object information of the current mouse point.leadingRowInfoof typeobjectLeading row object information. null when it is the main row at current mouse point; main row information if it is one of multiple expanded rows.timestampof typestringTimestamp of the current mouse point.svgIdof typestringID of SVG.svgCoordinateof typeint[][x, y] Coordinate of the current mouse point in the SVG coordinate system.effectingModeof typestringEffective mode. It can be the current Gantt Chart mode or the mode derived from the chart scheme mode.originEventof typeobjectOriginal JQuery event object.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
chartRightClick to attached listeners. Expects the following event parameters:
objectInfoof typeobjectRow object information of the current mouse point.leadingRowInfoof typeobjectLeading row object information. null when it is the main row at current mouse point; main row information if it is one of multiple expanded rows.timestampof typestringTimestamp of the current mouse point.svgIdof typestringID of SVG.svgCoordinateof typeint[][x, y] Coordinate of the current mouse point in the SVG coordinate system.effectingModeof typestringEffective mode. It can be the current Gantt Chart mode or a mode derived from the chart scheme mode.originEventof typeobjectOriginal JQuery event object.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
ganttChartSwitchRequested to attached listeners. Expects the following event parameters:
hierarchyKeyof typestringTarget hierarchy key.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
horizontalScroll to attached listeners. Expects the following event parameters:
scrollStepsof typeintScroll steps.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
relationshipSelectionChange to attached listeners. Expects the following event parameters:
originEventof typeobjectOriginal JQuery event object.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
rowSelectionChange to attached listeners. Expects the following event parameters:
originEventof typeobjectOriginal JQuery event object.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
shapeDragEnd to attached listeners. Expects the following event parameters:
originEventof typeobjectOriginal JQuery event object.sourceShapeDataof typeobject[]List of source shape data.sourceSvgIdof typestringSource SVG ID.targetDataof typeobject[]List of target shape data. Sorted by shape level.targetSvgIdof typestringTarget SVG ID.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
shapeSelectionChange to attached listeners. Expects the following event parameters:
originEventof typeobjectOriginal JQuery event object.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
splitterResize to attached listeners. Expects the following event parameters:
idof typestringID of the source control.oldSizesof typeint[]Old size in the form of [height, width].newSizesof typeint[]New size in the form of [height, width].zoomInfoof typeobjectZoom information.This object contains all related information for the listener to get the current zoom level of the time axis. Usually
zoomInfocontains the following information:"base"- Base for zooming calculation."sGranularity": "4day", - Zoom level that is used to calculate the zoom base; it is taken from timeAxis.granularity."fScale": 3840000 - Base scale determined by zoomStrategy level and now().
"determinedByConfig"- Zoom level calculated by configurationtimeAxis."fRate": 1, - Zoom rate determined by configuration timeAxis.granularity."fMaxRate": 384, - Maximum zoom rate determined by configuration timeAxis.finestGranularity."fMinRate": 0.02197802197802198 - Minimum zoom rate determined by configuration timeAxis.coarsestGranularity.
"determinedByChartWidth"- Zoom level calculated by the SVG width."fMinRate": 0.0279009617614573, - Minimum zoom rate determined by the chart width and configuration timeAxis.planHorizon."fSuitableRate": 0.5078804440909039 - Suitable zoom rate determined by the chart width and configuration timeAxis.initHorizon.
iChartWidth: 417 - Chart width in pixel.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
treeTableToggleEvent to attached listeners. Expects the following event parameters:
rowIndexof typeintThe index of the expanded/collapsed row.rowContextof typeobjectThe binding context of the selected row.expandedof typebooleanflag whether the node has been expanded or collapsed.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
verticalScroll to attached listeners. Expects the following event parameters:
scrollStepsof typeintScroll steps.
| {Map} | mArguments? | The arguments to pass along with the event |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
This method is intended to allow access to the ordinal axis. Do not change the ordinal axis. All subclasses must provide implementations.
| {sap.gantt.misc.AxisOrdinal} | Returns the axis ordinal instance. |
This method is intended to allow access to the time axis. Do not change the time axis. All subclasses must provide implementations.
| {sap.gantt.misc.AxisTime} | Returns the axis time instance. |
baseRowHeight. | {int} | Value of property baseRowHeight |
calendarDef. Paint servers consumed by special shape sap.gantt.shape.cal.Calendar.
This aggregation is designed to improve performance of calendar shapes. Rows usually share a similar definition with calendar shapes. It is possible to define a Calendar paint server to draw only one rectangle for each row. Notes for classes extended from sap.gantt.def.cal.CalendarDef: Different from property paintServerDefs, paint servers defined here must implement method getDefNode() instead of method getDefString().
| {sap.gantt.def.cal.CalendarDefs} |
chartSchemes. Configuration of chart schemes.
List of available chart schemes. If not provided, a default configuration is provided.
Default value is sap.gantt.config.DEFAULT_CHART_SCHEMES.
| {array} | Value of property chartSchemes |
enableCursorLine. Switch to show and hide the cursor line that follows the cursor.
Default value is true.
| {boolean} | Value of property enableCursorLine |
enableNowLine. Switch to show and hide the present time indicator
Default value is true.
| {boolean} | Value of property enableNowLine |
enableVerticalLine. Switch to show and hide vertical lines representing intervals along the time axis
Default value is true.
| {boolean} | Value of property enableVerticalLine |
height. Height of the control.
Default value is 100%.
| {sap.ui.core.CSSSize} | Value of property height |
hierarchies. Configuration of hierarchies.
List of available hierarchies. If not provided, a default configuration is provided.
Default value is sap.gantt.config.DEFAULT_HIERARCHYS.
| {array} | Value of property hierarchies |
hierarchyKey. Current hierarchy key referencing from configuration property hierarchies.
If source select group is enabled in the Gantt chart toolbar, the current hierarchy name referenced from hierarchies by this property is shown. For applications that do not require this function, this property can be ignored and a default value is used.
Default value is sap.gantt.config.DEFAULT_HIERARCHY_KEY.
| {string} | Value of property hierarchyKey |
locale. Configuration of locale settings.
Most locale settings can be configured in sap.ui.configuration objects. Only the time zone and day-light-saving time option are provided by locale settings.
Default value is sap.gantt.config.DEFAULT_LOCALE_CET.
| {sap.gantt.config.Locale} | Value of property locale |
mode. Current mode of the Gantt chart.
If no value is provided, GanttChart uses a default mode key.
Default value is sap.gantt.config.DEFAULT_MODE_KEY.
| {string} | Value of property mode |
modes. Configuration of available modes.
List of available modes. To apply modes to toolbar and shapes, further configuration is needed. If not provided, a default configuration is provided.
Default value is sap.gantt.config.DEFAULT_MODES.
| {array} | Value of property modes |
objectTypes. Configuration of object types.
List of available object types. If not provided, a default configuration is provided.
Default value is sap.gantt.config.DEFAULT_OBJECT_TYPES.
| {array} | Value of property objectTypes |
relationships. Relationships of shapes carried by rows.
Similar to rows, this aggregation does not request templates either. Relationships are a special shape with a category of "crossRowShape". How relationships are drawn is also specified in configuration property shapes.
| {sap.ui.core.Control[]} |
rows. Rows of sap.gantt.GanttChartBase
This aggregation is delegated to sap.gantt.table.TreeTable. Rows are provide a base for shapes with a category of "InRowShape". The configuration in property shapes determines how the shapes are drawn.
| {sap.ui.core.Control[]} |
selectionMode. Selection mode for GanttChart
This property controls whether multiToggle or multi-selection mode is enabled for the tree table and for shapes. It may also affect the visual appearance, such as whether check boxes are available for selection.
Default value is MultiWithKeyboard.
| {sap.gantt.SelectionMode} | Value of property selectionMode |
selectionPanelSize. If the implementation contains a selection panel, this is the initial width.
In the current library, sap.gantt.GanttChart does not have a selection panel. sap.gantt.GanttChart has a selection panel implemented by sap.ui.table.TreeTable.
Default value is 30%.
| {sap.ui.core.CSSSize} | Value of property selectionPanelSize |
shapeDataNames. Configuration of shape data names.
List of available shape data names. This configuration must be provided if SVG graphics are needed.
Default value is [].
| {array} | Value of property shapeDataNames |
shapes. Configuration of shape data against shape classes.
List of available shapes. The shapes configured in this list are initialized inside sap.gantt.GanttChartBase. Note that for JSON data binding, this configuration supports deep structured data structures. For ODATA binding, only one level is supported.
Default value is [].
| {array} | Value of property shapes |
svgDefs. SVG reusable element definitions.
If this property is provided, the paint server definition of the SVG is rendered. Method getDefString() should be implemented by all paint server classes that are passed in in this property.
| {sap.gantt.def.SvgDefs} | Value of property svgDefs |
timeAxis. Configuration of the time axis.
Planning horizon, initial horizon, and zoom level can be configured with this property. If not provided, a default configuration is provided.
Default value is sap.gantt.config.DEFAULT_TIME_AXIS.
| {sap.gantt.config.TimeAxis} | Value of property timeAxis |
timeZoomRate. Zoom level in float.
This property allows application developers to control the zoom level. When GanttChart is embedded in sap.gantt.GanttChartContainer, you do not have to manage this property.
Default value is 1.
| {float} | Value of property timeZoomRate |
toolbarSchemes. Configuration of toolbar schemes.
List of available toolbar shcemes. If not provided, a default configuration is provided.
Default value is sap.gantt.config.DEFAULT_GANTTCHART_TOOLBAR_SCHEMES.
| {array} | Value of property toolbarSchemes |
width. Width of the control.
Default value is 100%.
| {sap.ui.core.CSSSize} | Value of property width |
| {boolean} | bExpanded | expand or collapse the selected row |
| {array} | aChartSchemes | binded chart scheme |
| {array} | aSelectedIndices | user selected row indices |
sap.ui.core.Control in the aggregation relationships. and returns its index if found or -1 otherwise. | {sap.ui.core.Control} | oRelationship | The relationship whose index is looked for |
| {int} | The index of the provided control in the aggregation if found, or -1 otherwise |
sap.ui.core.Control in the aggregation rows. and returns its index if found or -1 otherwise. | {sap.ui.core.Control} | oRow | The row whose index is looked for |
| {int} | The index of the provided control in the aggregation if found, or -1 otherwise |
relationships. | {sap.ui.core.Control} | oRelationship | the relationship to insert; if empty, nothing is inserted |
| {int} | iIndex | the 0-based index the relationship should be inserted at; for a negative value of iIndex, the relationship is inserted at position 0; for a value greater than the current size of the aggregation, the relationship is inserted at the last position |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
rows. | {sap.ui.core.Control} | oRow | the row to insert; if empty, nothing is inserted |
| {int} | iIndex | the 0-based index the row should be inserted at; for a negative value of iIndex, the row is inserted at position 0; for a value greater than the current size of the aggregation, the row is inserted at the last position |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
This method sets the position of the visible area to a certain timestamp. It can be used to implement the function of Jump To First, Jump To Last, and Jump To Current.
A Redraw of SVG is triggered.
| {timestamp} | vDate | Accepted value is a 14-digit timestamp or a Date object. |
relationships. Additionally, it unregisters them from the hosting UIArea.
| {sap.ui.core.Control[]} | An array of the removed elements (might be empty) |
rows. Additionally, it unregisters them from the hosting UIArea.
| {sap.ui.core.Control[]} | An array of the removed elements (might be empty) |
relationships. | {int|string|sap.ui.core.Control} | vRelationship | The relationshipto remove or its index or id |
| {sap.ui.core.Control} | The removed relationship or null |
rows. | {int|string|sap.ui.core.Control} | vRow | The rowto remove or its index or id |
| {sap.ui.core.Control} | The removed row or null |
baseRowHeight. When called with a value of null or undefined, the default value of the property will be restored.
| {int} | iBaseRowHeight | New value for property baseRowHeight |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
calendarDef. | {sap.gantt.def.cal.CalendarDefs} | oCalendarDef | The calendarDef to set |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
chartSchemes. Configuration of chart schemes.
List of available chart schemes. If not provided, a default configuration is provided.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is sap.gantt.config.DEFAULT_CHART_SCHEMES.
| {array} | sChartSchemes | New value for property chartSchemes |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
enableCursorLine. Switch to show and hide the cursor line that follows the cursor.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is true.
| {boolean} | bEnableCursorLine | New value for property enableCursorLine |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
enableNowLine. Switch to show and hide the present time indicator
When called with a value of null or undefined, the default value of the property will be restored.
Default value is true.
| {boolean} | bEnableNowLine | New value for property enableNowLine |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
enableVerticalLine. Switch to show and hide vertical lines representing intervals along the time axis
When called with a value of null or undefined, the default value of the property will be restored.
Default value is true.
| {boolean} | bEnableVerticalLine | New value for property enableVerticalLine |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
height. Height of the control.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is 100%.
| {sap.ui.core.CSSSize} | sHeight | New value for property height |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
hierarchies. Configuration of hierarchies.
List of available hierarchies. If not provided, a default configuration is provided.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is sap.gantt.config.DEFAULT_HIERARCHYS.
| {array} | sHierarchies | New value for property hierarchies |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
hierarchyKey. Current hierarchy key referencing from configuration property hierarchies.
If source select group is enabled in the Gantt chart toolbar, the current hierarchy name referenced from hierarchies by this property is shown. For applications that do not require this function, this property can be ignored and a default value is used.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is sap.gantt.config.DEFAULT_HIERARCHY_KEY.
| {string} | sHierarchyKey | New value for property hierarchyKey |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
locale. Configuration of locale settings.
Most locale settings can be configured in sap.ui.configuration objects. Only the time zone and day-light-saving time option are provided by locale settings.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is sap.gantt.config.DEFAULT_LOCALE_CET.
| {sap.gantt.config.Locale} | sLocale | New value for property locale |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
mode. Current mode of the Gantt chart.
If no value is provided, GanttChart uses a default mode key.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is sap.gantt.config.DEFAULT_MODE_KEY.
| {string} | sMode | New value for property mode |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
modes. Configuration of available modes.
List of available modes. To apply modes to toolbar and shapes, further configuration is needed. If not provided, a default configuration is provided.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is sap.gantt.config.DEFAULT_MODES.
| {array} | sModes | New value for property modes |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
objectTypes. Configuration of object types.
List of available object types. If not provided, a default configuration is provided.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is sap.gantt.config.DEFAULT_OBJECT_TYPES.
| {array} | sObjectTypes | New value for property objectTypes |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
selectionMode. Selection mode for GanttChart
This property controls whether multiToggle or multi-selection mode is enabled for the tree table and for shapes. It may also affect the visual appearance, such as whether check boxes are available for selection.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is MultiWithKeyboard.
| {sap.gantt.SelectionMode} | sSelectionMode | New value for property selectionMode |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
selectionPanelSize. If the implementation contains a selection panel, this is the initial width.
In the current library, sap.gantt.GanttChart does not have a selection panel. sap.gantt.GanttChart has a selection panel implemented by sap.ui.table.TreeTable.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is 30%.
| {sap.ui.core.CSSSize} | sSelectionPanelSize | New value for property selectionPanelSize |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
shapeDataNames. Configuration of shape data names.
List of available shape data names. This configuration must be provided if SVG graphics are needed.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is [].
| {array} | sShapeDataNames | New value for property shapeDataNames |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
shapes. Configuration of shape data against shape classes.
List of available shapes. The shapes configured in this list are initialized inside sap.gantt.GanttChartBase. Note that for JSON data binding, this configuration supports deep structured data structures. For ODATA binding, only one level is supported.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is [].
| {array} | sShapes | New value for property shapes |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
svgDefs. SVG reusable element definitions.
If this property is provided, the paint server definition of the SVG is rendered. Method getDefString() should be implemented by all paint server classes that are passed in in this property.
When called with a value of null or undefined, the default value of the property will be restored.
| {sap.gantt.def.SvgDefs} | sSvgDefs | New value for property svgDefs |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
timeAxis. Configuration of the time axis.
Planning horizon, initial horizon, and zoom level can be configured with this property. If not provided, a default configuration is provided.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is sap.gantt.config.DEFAULT_TIME_AXIS.
| {sap.gantt.config.TimeAxis} | sTimeAxis | New value for property timeAxis |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
timeZoomRate. Zoom level in float.
This property allows application developers to control the zoom level. When GanttChart is embedded in sap.gantt.GanttChartContainer, you do not have to manage this property.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is 1.
| {float} | fTimeZoomRate | New value for property timeZoomRate |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
toolbarSchemes. Configuration of toolbar schemes.
List of available toolbar shcemes. If not provided, a default configuration is provided.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is sap.gantt.config.DEFAULT_GANTTCHART_TOOLBAR_SCHEMES.
| {array} | sToolbarSchemes | New value for property toolbarSchemes |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
width. Width of the control.
When called with a value of null or undefined, the default value of the property will be restored.
Default value is 100%.
| {sap.ui.core.CSSSize} | sWidth | New value for property width |
| {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
calendarDef from model data. | {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
relationships from model data. | {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |
rows from model data. | {sap.gantt.GanttChartBase} | Reference to this in order to allow method chaining |