GanttChartContentSettings
public struct GanttChartContentSettings
Settings for GanttChartContent component, other than those specified as properties on the main object. When you change these values (including styles and strings) you will need to call settingsDidChange() for the user interface to be updated.
-
Undocumented
Declaration
Swift
public init()
-
Indicates whether to show labels on bars in the diagram.
Declaration
Swift
public var showsLabels: Bool
-
Indicates whether to show tooltips when hovering bars in the diagram with the mouse cursor (macOS only).
Declaration
Swift
public var showsToolTips: Bool
-
Indicates whether to show completion bars for the bars in the diagram.
Declaration
Swift
public var showsCompletionBars: Bool
-
Indicates whether to show completion bars for the summary bars in the diagram when showsCompletionBars is set to true.
Declaration
Swift
public var showsCompletionBarsForSummaryItems: Bool
-
Indicates whether to show dependency lines (between bars of dependent items) in the diagram.
Declaration
Swift
public var showsDependencyLines: Bool
-
Indicates whether to draw dependency lines ending with a vertical arrow for dependencies of standard type (from-finish-to-start) when the target item starts immediately after or in the near future of the source item (minding rounded corners as well); by default, true.
Declaration
Swift
public var drawsVerticallyEndingDependencyLinesWhenApplicable: Bool
-
Indicates whether to draw dependency lines for dependencies of standard type (from-finish-to-start) and inverted (from-start-to-finish) such that their main horizontal distance would use the source row rather than target row; by default, false.
Declaration
Swift
public var drawsDependencyLinesSpanningHorizontalDistancePrimarilyOnSourceRow: Bool
-
Indicates whether to allow zooming operations on the diagram using pinch gestures (iOS only).
Declaration
Swift
public var allowsZooming: Bool
-
Indicates whether to run activation actions for bars in the diagram.
Declaration
Swift
public var allowsActivatingBars: Bool
-
Indicates whether to run activation actions for dependency lines in the diagram.
Declaration
Swift
public var allowsActivatingDependencyLines: Bool
-
Indicates whether to toggle expansion state (expanded or collapsed) for summary items in the diagram upon activation (instead of standard bar activation action); by default, false.
Declaration
Swift
public var activationTogglesExpansionForSummaryItems: Bool
-
Indicates whether to allow moving bars horizontally in the diagram using dragging operations.
Declaration
Swift
public var allowsMovingBars: Bool
-
Indicates whether to allow moving specific types of bars horizontally in the diagram using dragging operations when allowsMovingBars is set to true.
Declaration
Swift
public var allowsMovingBarsForType: [GanttChartItemType : Bool]
-
Determines whether to allow moving the bar horizontally for a specific item in the diagram using dragging operations.
Declaration
Swift
public func allowsMovingBar(for item: GanttChartItem) -> Bool
-
Indicates whether to allow resizing bars horizontally in the diagram using dragging operations. When setting this property, allowsResizingBarsAtStart is also set to the same value.
Declaration
Swift
public var allowsResizingBars: Bool { get set }
-
Indicates whether to allow resizing specific types of bars horizontally in the diagram using dragging operations when allowsResizingBars is set to true. When setting this property, allowsResizingBarsAtStartForType is also set to the same value.
Declaration
Swift
public var allowsResizingBarsForType: [GanttChartItemType : Bool] { get set }
-
Determines whether to allow resizing the bar for a specific item horizontally in the diagram using dragging operations.
Declaration
Swift
public func allowsResizingBar(for item: GanttChartItem) -> Bool
-
Indicates whether to allow resizing bars horizontally at their start in the diagram using dragging operations when allowsResizingBars is true.
Declaration
Swift
public var allowsResizingBarsAtStart: Bool
-
Indicates whether to allow resizing specific types of bars horizontally at their start in the diagram using dragging operations when allowsResizingBars and allowsResizingBarsAtStart are set to true.
Declaration
Swift
public var allowsResizingBarsAtStartForType: [GanttChartItemType : Bool]
-
Determines whether to allow resizing the bar horizontally at its start for a specific item in the diagram using dragging operations.
Declaration
Swift
public func allowsResizingBarAtStart(for item: GanttChartItem) -> Bool
-
Indicates whether to allow moving bars vertically in the diagram using dragging operations.
Declaration
Swift
public var allowsMovingBarsVertically: Bool
-
Indicates whether to allow moving specific types of bars vertically in the diagram using dragging operations when allowsMovingBarsVertically is set to true.
Declaration
Swift
public var allowsMovingBarsVerticallyForType: [GanttChartItemType : Bool]
-
Determines whether to allow moving the bar vertically for a specific item in the diagram using dragging operations.
Declaration
Swift
public func allowsMovingBarVertically(for item: GanttChartItem) -> Bool
-
Indicates whether to allow resizing completion on bars in the diagram using dragging operations.
Declaration
Swift
public var allowsResizingCompletionBars: Bool
-
Indicates whether to allow resizing completion on specific types of bars in the diagram using dragging operations when allowsResizingCompletionBars is set to true.
Declaration
Swift
public var allowsResizingCompletionBarsForType: [GanttChartItemType : Bool]
-
Determines whether to allow resizing completion on the bar for a specific item in the diagram using dragging operations.
Declaration
Swift
public func allowsResizingCompletionBar(for item: GanttChartItem) -> Bool
-
Indicates whether completion duration should be preserved, when possible, upon resizing bars. By default it is set to true; set this to false in order to preserve the completion percent upon resizing bars, instead.
Declaration
Swift
public var preservesCompletedDurationUponResizingBars: Bool
-
Indicates whether updating Z indexes is allowed in the diagram. By default it is set to true; set this to false in order to preserve the original Z order in the diagram regardless of clicking, tapping, and other operations being performed in the user interface.
Declaration
Swift
public var allowsUpdatingZIndexes: Bool
-
Indicates whether new bars (and bound items) can be created in the diagram (and the associated collection) by right clicking empty area on macOS or long pressing it on iOS, and selecting Create item or Create milestone from the contextual menu.
Declaration
Swift
public var allowsCreatingBars: Bool
-
Indicates whether milestone can be created (or only standard items are permitted) when allowsCreatingBars is set to true.
Declaration
Swift
public var allowsCreatingMilestones: Bool
-
Indicates whether existing bars (and bound items) can be deleted from the diagram (and the associated collection) by right clicking the bar on macOS or tapping it on iOS, and selecting Delete item from the contextual menu.
Declaration
Swift
public var allowsDeletingBars: Bool
-
Indicates whether existing bars of specific types (and bound items) can be deleted from the diagram (and the associated collection) by right clicking the bar on macOS or tapping it on iOS, and selecting Delete item from the contextual menu.
Declaration
Swift
public var allowsDeletingBarsForType: [GanttChartItemType : Bool]
-
Determines whether the bar for a specific item can be deleted from the diagram.
Declaration
Swift
public func allowsDeletingBar(for item: GanttChartItem) -> Bool
-
Indicates whether new dependency lines (and bound dependencies) can be created in the diagram (and the associated collection) by dragging from a temporary thumb that appears to the right or left side of a bar to another bar.
Declaration
Swift
public var allowsCreatingDependencyLines: Bool
-
Indicates whether new dependency lines (and bound dependencies) can be created in the diagram (and the associated collection) as a link from or to a specific item type.
Declaration
Swift
public var allowsCreatingDependencyLinesForType: [GanttChartItemType : Bool]
-
Determines whether a dependency line can be created as a link from a specific item in the diagram.
Declaration
Swift
public func allowsCreatingDependencyLines(from item: GanttChartItem) -> Bool
-
Determines whether a dependency line can be created to a specific item in the diagram.
Declaration
Swift
public func allowsCreatingDependencyLines(to item: GanttChartItem) -> Bool
-
Indicates whether dependency lines can be created from bar start areas (fromStartTo* dependency types) when allowsCreatingDependencyLines is set to true.
Declaration
Swift
public var allowsCreatingDependencyLinesFromStart: Bool
-
Indicates whether dependency lines can be created to bar finish areas (from*ToFinish dependency types) when allowsCreatingDependencyLines is set to true.
Declaration
Swift
public var allowsCreatingDependencyLinesToFinish: Bool
-
True when both allowsCreatingDependencyLinesFromStart and allowsCreatingDependencyLinesToFinish are set to false, meaning and only standard (formFinishToStart) dependency type is permitted upon dependency line creation.
Declaration
Swift
public var allowsCreatingDependencyLinesFromStartToFinishOnly: Bool { get set }
-
Indicates whether existing dependency lines (and bound dependencies) can be deleted from the diagram (and the associated collection) by right clicking the line on macOS or tapping it on iOS, and selecting Delete dependency from the contextual menu.
Declaration
Swift
public var allowsDeletingDependencyLines: Bool
-
Indicates whether existing dependency lines (and bound dependencies) from or to a specific item type can be deleted from the diagram (and the associated collection).
Declaration
Swift
public var allowsDeletingDependencyLinesForType: [GanttChartItemType : Bool]
-
Determines whether dependency lines that represent links from a specific item can be deleted from the diagram.
Declaration
Swift
public func allowsDeletingDependencyLines(from item: GanttChartItem) -> Bool
-
Determines whether dependency lines that represent links to a specific item can be deleted from the diagram.
Declaration
Swift
public func allowsDeletingDependencyLines(to item: GanttChartItem) -> Bool
-
Determines whether the dependency line for a specific dependency can be deleted from the diagram.
Declaration
Swift
public func allowsDeletingDependencyLine(for dependency: GanttChartDependency) -> Bool
-
Indicates whether the diagram elements are all read only.
Declaration
Swift
public var isReadOnly: Bool { get set }
-
Indicates whether the diagram elements for a specific item type are all read only.
Declaration
Swift
public var isTypeReadOnly: [GanttChartItemType : Bool] { get set }
-
Indicates whether to call editing for the newly created item upon adding them to the collection, with support from the editor delegate.
Declaration
Swift
public var editsNewlyCreatedItems: Bool
-
Indicates whether to call editing for the newly created dependencies upon adding them to the collection, with support from the editor delegate.
Declaration
Swift
public var editsNewlyCreatedDependencies: Bool
-
Indicates whether to allow selecting elements (bars and dependency lines) in the diagram; by default set to false; set it to true if you want end users to be able to select elements in the diagram (and you to be able to reference their selection upon executing custom item or dependency related operations.)
Declaration
Swift
public var allowsSelectingElements: Bool
-
Indicates whether to allow editing elements (bars and dependency lines) in the diagram when an editor delegate is defined; by default set to false; set it to true if you want end users to be able to perform edit commands for the element in the diagram.
Declaration
Swift
public var allowsEditingElements: Bool
-
Indicates whether to allow editing items in the diagram when allowsEditingElements is set to true and and editor delegate is defined.
Declaration
Swift
public var allowsEditingItems: Bool
-
Indicates whether to allow editing dependencies in the diagram when allowsEditingElements is set to true and and editor delegate is defined.
Declaration
Swift
public var allowsEditingDependencies: Bool
-
Indicates whether a newly created element becomes automatically selected if allowsSelectingElements is set to true.
Declaration
Swift
public var selectsNewlyCreatedElements: Bool
-
Indicates whether an edited element becomes automatically selected if allowsSelectingElements is set to true.
Declaration
Swift
public var selectsEditedElements: Bool
-
Defines the width to be used when the bars would be otherwise too narrow.
Declaration
Swift
public var minBarWidth: Double
-
Defines the width to be used when the temporary bar is displayed on screen, upon creating a new item in the collection; by default minBarWidth is used.
Declaration
Swift
public var temporaryBarWidth: Double?
-
Defines the width reserved for resizing areas to be considered upon hovering bars preparing for dragging operations.
Declaration
Swift
public var resizingBarAreaWidth: Double
-
Defines the height ratio reserved for vertical movement thumb areas to be considered upon hovering bars preparing for dragging operations.
Declaration
Swift
public var movingBarVerticallyAreaHeightRatio: Double
-
Defines the width ratio to be considered from the hovered target bar area upon creating from*ToFinish dependency lines by performing dragging operations.
Declaration
Swift
public var creatingDependencyLineFinishEndWidthRatio: Double
-
Distance from a bar up to which hovering over would still be considered performed.
Declaration
Swift
public var maxBarHoveringDistance: Double
-
Distance from a line up to which hovering over would still be considered performed.
Declaration
Swift
public var maxLineHoveringDistance: Double
-
Indicates the number of clicks required to activate elements on macOS. By default 1; set it to 2 to get elements activated on double clicks only.
Declaration
Swift
public var numberOfClicksRequiredToActivateElements: Int
-
Establishes the size of the diagram margin that the component would perform automatic scrolling for upon hovering during dragging operations.
Declaration
Swift
public var autoScrollMargin: Double
-
Establishes the time interval (in seconds) that automatic scrolling occurs periodically on.
Declaration
Swift
public var autoScrollInterval: Double
-
Indicates whether the scrollable timeline is automatically updated when the end user scrolls to its ends and what time interval it should be shifted by (in seconds.)
Declaration
Swift
public var autoShiftsScrollableTimelineBy: TimeInterval?
-
Indicates whether to use an internal cache for certain user interface related computed values in order to improve the runtime performance of the component. (Technically, a temporary cache for those values is always available, but when this value is set to false, such as if there is a need to reduce memory usage, the cache is cleared upon each drawing operation that occurs within the view.)
Declaration
Swift
public var usesCache: Bool
-
Defines user interface style settings for the component.
Declaration
Swift
public var style: GanttChartContentStyle { get set }
-
Defines localizable strings for the component.
Declaration
Swift
public var strings: GanttChartContentStrings