API Reference
ChartGanttItem
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 3 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 1
- Property ChartSeries.GanttItems
Accepted by parameters 2
- Method ChartSeries.ReplaceGanttItems
- Method ChartSeries.UpdateGanttItem
Constructors
public ChartGanttItem(Double start, Double end, Double progress = 0, Boolean isMilestone = false, Boolean isVerticalMarker = false) #Creates a task, milestone or marker. The chart owns dependency relationships separately from these observations.
Parameters
- start System.Double
- end System.Double
- progress System.Double = 0
- isMilestone System.Boolean = false
- isVerticalMarker System.Boolean = false
public ChartGanttItem(DateTime start, DateTime end, Double progress = 0, Boolean isMilestone = false, Boolean isVerticalMarker = false) #Creates an item from wall-clock date bounds.
Parameters
- start System.DateTime
- end System.DateTime
- progress System.Double = 0
- isMilestone System.Boolean = false
- isVerticalMarker System.Boolean = false
Inherited Methods
public override Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
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 Boolean IsMilestone { get; } #Gets whether the item paints a milestone diamond.
public Boolean IsVerticalMarker { get; } #Gets whether the item paints a vertical reference marker without reserving a task row.