Skip to content
ChartForgeX

API Reference

Struct

ChartGanttItem

Namespace ChartForgeX.Core
Assembly ChartForgeX
Base ValueType
Modifiers sealed

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

Accepted by parameters 2

Constructors

ChartGanttItem 2 overloads
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 requiredposition: 0
end System.Double requiredposition: 1
progress System.Double = 0 optionalposition: 2
isMilestone System.Boolean = false optionalposition: 3
isVerticalMarker System.Boolean = false optionalposition: 4
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 requiredposition: 0
end System.DateTime requiredposition: 1
progress System.Double = 0 optionalposition: 2
isMilestone System.Boolean = false optionalposition: 3
isVerticalMarker System.Boolean = false optionalposition: 4

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.