ChartGanttItem
ChartForgeX.Core
Describes one schedule task, milestone or vertical marker with its numeric schedule coordinates.
Inheritance
- ValueType
- ChartGanttItem
Remarks
Date constructors preserve the wall-clock OLE Automation date coordinates used by classic Gantt charts.
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
- Method ChartGanttItem.OpenEnded
- Method ChartGanttItem.WithMarkOptions
- Property ChartSeries.GanttItems
Accepted by parameters 2
- Method ChartSeries.ReplaceGanttItems
- Method ChartSeries.UpdateGanttItem
Constructors
public ChartGanttItem(double start, double end, double progress, bool isMilestone, bool isVerticalMarker) #Creates a fixed task, milestone or marker with the established five-argument constructor contract.
Parameters
- start double
- end double
- progress double
- isMilestone bool
- isVerticalMarker bool
public ChartGanttItem(DateTime start, DateTime end, double progress, bool isMilestone, bool isVerticalMarker) #Creates a fixed item from wall-clock date bounds with the established five-argument constructor contract.
Parameters
- start System.DateTime
- end System.DateTime
- progress double
- isMilestone bool
- isVerticalMarker bool
public ChartGanttItem(double start, double end, double progress = 0, bool isMilestone = false, bool isVerticalMarker = false, bool isOpenEnded = false) #Creates a task, milestone or marker. The chart owns dependency relationships separately from these observations.
Parameters
- start double
- end double
- progress double = 0
- isMilestone bool = false
- isVerticalMarker bool = false
- isOpenEnded bool = false
public ChartGanttItem(DateTime start, DateTime end, double progress = 0, bool isMilestone = false, bool isVerticalMarker = false, bool isOpenEnded = false) #Creates an item from wall-clock date bounds.
Parameters
- start System.DateTime
- end System.DateTime
- progress double = 0
- isMilestone bool = false
- isVerticalMarker bool = false
- isOpenEnded bool = false
Methods
public static ChartGanttItem OpenEnded(double start, double progress = 0) #Creates a task with no fixed end. Its stored end equals start; rendering resolves the visible endpoint from the chart domain.
Parameters
- start double
- progress double = 0
Returns
ChartGanttItempublic static ChartGanttItem OpenEnded(DateTime start, double progress = 0) #Creates an open task from a wall-clock date, using the classic Gantt coordinate convention.
Parameters
- start System.DateTime
- progress double = 0
Returns
ChartGanttItempublic ChartGanttItem WithMarkOptions(ChartMarkOptions? options) #Returns a copy with replacement mark metadata, retaining all authored values.
Parameters
- options ChartForgeX.Core.ChartMarkOptions?
- Immutable metadata, or null to clear it.
Inherited Methods
Properties
public double Start { get; } #Gets the start coordinate, or the line coordinate for a vertical marker.
public double End { get; } #Gets the end coordinate included in the schedule window.
public double Progress { get; } #Gets completion as a fraction between zero and one.
public bool IsMilestone { get; } #Gets whether the item paints a milestone diamond.
public bool IsVerticalMarker { get; } #Gets whether the item paints a vertical reference marker without reserving a task row.
public bool IsOpenEnded { get; } #Gets whether this task continues beyond its authored start with no fixed end.
public ChartMarkOptions? MarkOptions { get; } #Gets optional immutable navigation, accessibility and host metadata.