API Reference
ChartGanttLaneItem
Represents one item in a Gantt lane, such as an incident: a start, an optional end, a category key resolved through ChartOptions.StateCategories (for example a severity), a short label, and optional tooltip detail. Times are OLE Automation dates holding UTC instants.
Inheritance
- ValueType
- ChartGanttLaneItem
Usage
Explore 1 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.
Accepted by parameters 1
- Method Chart.AddGanttLane
Constructors
public ChartGanttLaneItem(Double start, Double? end, String category, String? label = null, String? detail = null) #Initializes an item from OLE Automation date values. Representable intervals must span distinct instants at the 100-microsecond time-axis display resolution.
Parameters
- start System.Double
- The start instant.
- end System.Double?
- The end instant, later than start, or null while the item is still open; open items run to the UTC instant set by Chart.WithGanttLaneNow or, when that is not set, slightly past the latest time in the chart.
- category System.String
- The category key, for example critical.
- label System.String? = null
- Optional short text drawn inside the bar when it fits.
- detail System.String? = null
- Optional detail text shown in tooltips.
public ChartGanttLaneItem(DateTime start, DateTime? end, String category, String? label = null, String? detail = null) #Initializes an item from date/time values. DateTimeKind.Local values are converted to UTC; DateTimeKind.Unspecified values are treated as UTC. Both instants must be on or after 1899-12-30 UTC so OLE values stay chronologically ordered. DateTime inputs are rounded to 100-microsecond time-axis resolution; shorter intervals are rejected.
Parameters
- start System.DateTime
- The start.
- end System.DateTime?
- The end, or null while the item is still open.
- category System.String
- The category key, for example critical.
- label System.String? = null
- Optional short text drawn inside the bar when it fits.
- detail System.String? = null
- Optional detail text shown in tooltips.
Inherited Methods
public override Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public Double Start { get; } #Gets the start instant as an OLE Automation date.
public Double? End { get; } #Gets the end instant as an OLE Automation date, or null while the item is open.
public Boolean IsOpen { get; } #Gets a value indicating whether the item is still open.
public String Category { get; } #Gets the category key.
public String? Label { get; } #Gets optional short text drawn inside the bar.
public String? Detail { get; } #Gets optional tooltip detail.