Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Struct

ChartGanttLaneItem

Namespace ChartForgeX.Core
Assembly ChartForgeX
Base ValueType
Modifiers sealed

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

Constructors

ChartGanttLaneItem 2 overloads
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 requiredposition: 0
The start instant.
end System.Double? requiredposition: 1
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 requiredposition: 2
The category key, for example critical.
label System.String? = null optionalposition: 3
Optional short text drawn inside the bar when it fits.
detail System.String? = null optionalposition: 4
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 requiredposition: 0
The start.
end System.DateTime? requiredposition: 1
The end, or null while the item is still open.
category System.String requiredposition: 2
The category key, for example critical.
label System.String? = null optionalposition: 3
Optional short text drawn inside the bar when it fits.
detail System.String? = null optionalposition: 4
Optional detail text shown in tooltips.

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.